Community Profile

photo

Marcelin Dierickx


Active since 2018

Followers: 0   Following: 0

Statistics

  • Thankful Level 2
  • Thankful Level 1

View badges

Feeds

View by

Question


Simplifying a "if" statement that checks there is at most one vector
Hello, I have got a code looking like this: if (length(a)>1 && max([length(b) length(c)])>1) || (length(b)>1 && max([length(a)...

5 years ago | 1 answer | 0

1

answer

Question


Generalizing an IF and FPRINTF expression
Hello, I got a part of code looking like this: A = ... % can be a scalar or a vector B = ... % can be a scalar or a vector if...

5 years ago | 2 answers | 0

2

answers

Question


Sym: The second argument must be a vector of symbolic variables
This code: R = 9 ; T = 300 ; g = 10 ; syms h p Mm q m v b a f F = (sqrt((h*(g*(q*(a+v)-m+((m-q*v)/(R*T/(p/q+g*h)-Mm)+b)*(...

5 years ago | 2 answers | 0

2

answers