??? Subscript indices must either be real positive integers or logicals.

1 view (last 30 days)
What should I do if this error message pops up?
??? Subscript indices must either be real positive integers or logicals.
  1 Comment
Jan
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.

Sign in to comment.

Accepted Answer

Azzi Abdelmalek
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
Jan
Jan on 25 Jan 2013
??? Did the OP remove essential information from the question?

Sign in to comment.

More Answers (0)

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!