Question

How can I add an edge to my model?

I started using the Partial Differential Equation Toolbox and after generating a basic geometry, I wanted to add edges to it. Ho...

5 dagar ago | 0 answers | 0

Question

How do you name single output functions?

The matlab style book reccomends to name single output functions like their output, which is consistent with the MALTAB function...

29 dagar ago | 3 answers | 0

Answered

Reformat numbers in table

% leading zero in the format specifier specifies leading zeros in your string t.Var1 = "Subject" + string(num2str(t.Var1,'%03i'...

Reformat numbers in table

% leading zero in the format specifier specifies leading zeros in your string t.Var1 = "Subject" + string(num2str(t.Var1,'%03i'...

29 dagar ago | 0

| accepted

Answered

Error in the plot function/low resolution

Hi, it is hard to find (and fully understand) your problem without having your code. If I understand your question right, you...

Error in the plot function/low resolution

Hi, it is hard to find (and fully understand) your problem without having your code. If I understand your question right, you...

29 dagar ago | 0

Question

How do you name time series / table variables?

Hello community, when having a dataset with much variables in the form of a timetable, I often name the table with its variab...

29 dagar ago | 1 answer | 0

Answered

[Editable uitable] Calculate result based on user input

Right click on your table, --> Callbacks --> Add CellEditCallback This will create a subsection in your app code. Whenever a ...

[Editable uitable] Calculate result based on user input

Right click on your table, --> Callbacks --> Add CellEditCallback This will create a subsection in your app code. Whenever a ...

ungefär 2 månader ago | 0

Answered

Pop-Up Menu MultiSelect?

There are multiple ways your problem can be solved: Add a menu bar to your app. This will be a menu, that can expand from the t...

Pop-Up Menu MultiSelect?

There are multiple ways your problem can be solved: Add a menu bar to your app. This will be a menu, that can expand from the t...

ungefär 2 månader ago | 0

Answered

Maximization with an objective variable in the function

It seems to me, that fmincon can only find local minima. It also has much math I dont understand, an easier (to understand) func...

Maximization with an objective variable in the function

It seems to me, that fmincon can only find local minima. It also has much math I dont understand, an easier (to understand) func...

2 månader ago | 0

Answered

Interactive tutor using app designer

What you will need for this is evil "eval". Eval can calculate whatever the student has given you. You can catch and return e...

Interactive tutor using app designer

What you will need for this is evil "eval". Eval can calculate whatever the student has given you. You can catch and return e...

2 månader ago | 0

Answered

How to read a numerical value from a static text box?

Did you try str2double instead of num2str? ;)

How to read a numerical value from a static text box?

Did you try str2double instead of num2str? ;)

2 månader ago | 1

Answered

Supress image showing until called on Live Script

A quite simple workaround would be, if you save the figure you want to be invisible, then close it and open it again from a file...

Supress image showing until called on Live Script

A quite simple workaround would be, if you save the figure you want to be invisible, then close it and open it again from a file...

2 månader ago | 0

Solved

Pizza!

Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

2 månader ago

Question

How to Define a Symbolic Continued Fraction

Hello, I want to create and simplify a symbolic fraction, but dont now how. My fraction has the following form: I want to rep...

2 månader ago | 3 answers | 0

Question

How can I use function handles in Simulink?

Hello, i found similar questions, but none did account for my problem in Simulink. I have a function handle in my model work...

3 månader ago | 1 answer | 0

Solved

Times 2 - START HERE

Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

4 månader ago

Answered

Smoothed daily count of each column by applying a moving average filter of length 7

To use a moving average filter in Matlab, use: M = movmean(A,k)

Smoothed daily count of each column by applying a moving average filter of length 7

To use a moving average filter in Matlab, use: M = movmean(A,k)

9 månader ago | 0

Answered

Why do I get this error? "indices must either be real positive integers or logicals."

You could use N(g) to create a symbolic function with the symbolic variable g. Since g is not a symbolic variable but a vector, ...

Why do I get this error? "indices must either be real positive integers or logicals."

You could use N(g) to create a symbolic function with the symbolic variable g. Since g is not a symbolic variable but a vector, ...

9 månader ago | 0

Question

Position or Coordinates of Labels

Hi, I want to know the Position of the xlabel (ylabel) of my plot, to insert an arrow at this position. However, when I call th...

9 månader ago | 1 answer | 0

Answered

How to solve a cosine function raised to the 3rd power

Hi, you probably forgot to define theta as a symbolic variable. Use "sym" to do that. syms theta eqn = solve(1.5936==(2-3*cos(...

How to solve a cosine function raised to the 3rd power

Hi, you probably forgot to define theta as a symbolic variable. Use "sym" to do that. syms theta eqn = solve(1.5936==(2-3*cos(...

10 månader ago | 1

Question

Strange behaviour of simplify

Hello, when solving a math Problem today i noticed a strange behaviour of simplify and I cannot explain myself what I did wrong....

10 månader ago | 2 answers | 0