Problem 605. Whether the input is vector?
Solution Stats
Problem Comments
-
5 Comments
Nice..
nice!!!
Simple but very appropriate and effective. Hadn't actually heard of the optimal command for this beforehand.
Good problem
Confused how to attack this problem
Solution Comments
-
1 Comment
vector check --single line command
-
1 Comment
I know some MATLAB commands can only be performed on matrices, I wonder if you could solve this by using a command thats only supposed to be used on vectors, in a way that also doesnt cause an error for the code to stop
-
1 Comment
look at the documentation
-
2 Comments
Not easy
easy as long as you look in the documentation
-
1 Comment
I didn't realize isvector was a function in matlab so I spent waaay to much time trying to make a bunch of if-conditions that I couldn't get to work
-
1 Comment
not bad, requires documentation reference.
-
1 Comment
harder
-
1 Comment
Using other established matlab functions when establishing a function myself is helpful.
-
1 Comment
nice one
-
1 Comment
nice!
-
1 Comment
nice one!
-
2 Comments
Good one
solid work
-
1 Comment
y=isvector(x);
-
1 Comment
Nice one
-
3 Comments
function y = checkvector(x)
y = isvector(x);
end
Nice
nice
-
3 Comments
There is a mistake in your test suite test 3.
Please correct it.
Hi, No mistake in test suit 3, a vector can be a column vector or row vector.
Suit number 3 is completely okay.
Problem Recent Solvers4982
Suggested Problems
-
Find the alphabetic word product
2705 Solvers
-
586 Solvers
-
407 Solvers
-
Find out sum and carry of Binary adder
815 Solvers
-
Find the max element of the array
488 Solvers
More from this Author2
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!