Info

This question is closed. Reopen it to edit or answer.

Defining a variable in specific nodes

1 view (last 30 days)
m m
m m on 6 May 2019
Closed: MATLAB Answer Bot on 20 Aug 2021
Hi,
I need to define a variable B(j)) in the 1/2 3/2 5/2.... . e.g i have the variables A(i) and B(j). So the loops are( for i =2:N and j=2:N) .
And B(j)=A(i+1)-A(i)
  8 Comments
Adam Danz
Adam Danz on 6 May 2019
Well then I'm not sure what's going on because loops require integer increments.

Answers (0)

This question is closed.

Community Treasure Hunt

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

Start Hunting!