Community Profile

photo

Matty


Last seen: oltre un anno fa Attivo dal 2022

Followers: 0   Following: 0

Statistiche

  • Thankful Level 2

Visualizza badge

Feeds

Visto da

Domanda


Error in using an element in a matrix as function input
I have an array/vector c, and I want to use it as input for my function, Viscosity like this: function fv=Viscosity(c(1), c(2...

oltre un anno fa | 1 risposta | 0

1

risposta

Domanda


Hi! Can anybody help me with my code?
mass_AnPoll = 0; for i = 1:5 mass_AnPoll = mass_AnPoll + mer(1:i); end Error Message in Code: "Arrays have incompatibl...

oltre un anno fa | 2 risposte | 0

2

risposte

Domanda


How to Hide Legend of Plot 2?
zeys = n; text = ['Run ',num2str(zeys)]; plot(x,y,'DisplayName',text); plot(xmax,ym...

oltre un anno fa | 1 risposta | 0

1

risposta

Domanda


Hi! How can I create a conditional statement from checking if an array is empty? I will paste my non-working code here.
TF = isempty(matches); %true-false statement: logical 1 = True, logical 0 = False GRRRRR = double(TF); if GRRRRR == 1 %%if i...

oltre un anno fa | 2 risposte | 0

2

risposte

Domanda


I have a Discontinuous Prompt: That is, after a user input in the first message box, there is still a need to input the same in the Command Window. How to fix?
Here is my code, but it is discontinuous. That is, after a user input in the first message box, there is still a need to input t...

oltre un anno fa | 1 risposta | 0

1

risposta

Domanda


My first user-input prompt is to enter a number (say, x). What should I write if my next message box MUST contain the same number of prompt questions as x?
Hi! My first user-input prompt is to enter a number (say, x). What should I write (code) if my next message box MUST contain the...

oltre un anno fa | 1 risposta | 0

1

risposta