??? Subscript indices must either be real positive integers or logicals.
1 view (last 30 days)
Show older comments
What should I do if this error message pops up?
??? Subscript indices must either be real positive integers or logicals.
1 Comment
Jan
on 25 Jan 2013
Did you search in this forum for this error message already? It is answered such frequently, that finding a solution should be possible.
Accepted Answer
Azzi Abdelmalek
on 25 Jan 2013
Edited: Azzi Abdelmalek
on 25 Jan 2013
In the fellowing expression you missed * x0*(z, instead of x0(z
c1=(v0+x0*(z*n+n*sqrt(z.^2-1)))/(2*n*sqrt(z.^2-1));
You have also, to replace some multiplication by multiplication element/element
3 Comments
More Answers (0)
See Also
Categories
Find more on Get Started with MATLAB 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!