Info

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

Do this script with if

1 view (last 30 days)
hakomc bida
hakomc bida on 21 Dec 2015
Closed: MATLAB Answer Bot on 20 Aug 2021
Hello!
I want to do this with if statement
n = input('entrer le nombre de lignes: ');
m = input('entrer le nombre de colones: ');
A = zeros(n,m);
A(1:(n+1):end) = 1
and thank you))

Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!