how to write a simple algorithm that can allow the user to know the index of the first negative element in a column matrix.
1 view (last 30 days)
Show older comments
Using a WHILE statement..... how to write a simple algorithm that can allow the user to know the index of the first negative element in a column matrix.? I have to do this using a while statement....! Help needed!!
1 Comment
dpb
on 24 Nov 2013
Seems like strange request for while but...for HW, post at least an attempt and specific questions where get stuck, don't just expect a solution.
Accepted Answer
More Answers (0)
See Also
Categories
Find more on Matrix Indexing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!