Clear Filters
Clear Filters

Info

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

Both are arrays and i need to fill those 1 values in D variable in sequence with the values in C How can i use for loop and conditional statement to make if happen

1 view (last 30 days)
C =
0.3400
0.2500
0.3300
0.3300
0.2200
0.5600
>> D
D =
0 1 1
0 1 1
1 1 0

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!