回答済み How can I tell if this is stored as a vector?
Wow, thank you so much! I wouldn't have thought it would be as simple as taking off a semicolon & the output argument. I thought...
6年以上 前 | 0
質問
Sum of row and column #?
Say I ask the user to input the size of a square matrices, n.
And say I want each element of this matrix to be the sum of the...
switch case and inequalities
So, say I wanted to disp('that's impossible') if a user enters an age over 150 or less than 0?
How could I do this for a swit...
6年以上 前 | 2 件の回答 | 0
2
回答
質問
Why is this returning "logical 1"
This is my code:
userAge = input('How old are you?');
if userAge >0 && userAge <7
disp('Oh that''s so cute!')
...