Counting the occurrence of a value=Inf in an array
2 views (last 30 days)
Show older comments
I am given a vector for instance
R=[1;2;3;4;5;6 Inf; 7; Inf];
Is there a function in matlab which has inputs R and Inf and gives me back the number of occurrence of Inf in R?
0 Comments
Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!