display sequence in matlab
To display a sequence in Matlab, you can use the following code:
sequence = [1, 2, 3, 4, 5];
disp(sequence);
This will display the sequence [1, 2, 3, 4, 5] in the Matlab console.
I hope this helps!
To display a sequence in Matlab, you can use the following code:
sequence = [1, 2, 3, 4, 5];
disp(sequence);
This will display the sequence [1, 2, 3, 4, 5] in the Matlab console.
I hope this helps!