How to write a logical statement?

2 Ansichten (letzte 30 Tage)
bilgesu ak
bilgesu ak am 18 Jan. 2016
Kommentiert: Image Analyst am 18 Jan. 2016
Hi;
I need to write a logical statement but I couldn't succeed it. It is attached file because of exponential numbers... This is very important for me ...
Thanks in advance; Regards...

Antworten (1)

Image Analyst
Image Analyst am 18 Jan. 2016
What does "end" mean there? Does it mean to quit the program? If so, just use return instead of end.
To exponentiate use ^
if LB^(k-1)== N
return;
end
  2 Kommentare
bilgesu ak
bilgesu ak am 18 Jan. 2016
yes end means quit the problem. But (k) or (k-1) don't represent the exponential values. It is just a representation that LB gets values according to the change of k.
Image Analyst
Image Analyst am 18 Jan. 2016
Then use LB(k-1)

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Linear Algebra finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by