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
Mamamia this was hard
-
1 Comment
too difficalt, don't even get it alone
-
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
-
3 Comments
Not easy
easy as long as you look in the documentation
what would you have to look up 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
-
2 Comments
not bad, requires documentation reference.
what did you look up in the documentation?
-
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 Solvers6581
Suggested Problems
-
How to find the position of an element in a vector without using the find function
2615 Solvers
-
Arrange Vector in descending order
8422 Solvers
-
Back to basics 11 - Max Integer
755 Solvers
-
Back to basics 23 - Triangular matrix
789 Solvers
-
Given a square and a circle, please decide whether the square covers more area.
658 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!