3 ms·
Ask: Create a Program Displaying Number of Numbers Greater Than 0.8 in Matrix
I'm a new programmer,
I got a task to make a program that picks and displays how many numbers greater than 0.8 there is in a random matrix 5x6 with 2 for loops and would appreciate help if someone knows how to make it.
Thanks in advance.
I'm writing in Octave,
this is how the code starts:
clear
clc
rand(5,6);
for row =….
- ecpottinger 6y agoSounds like you want us to do your home work.
- justilian 6y agoThat's precisely right, but to be honest if someone knows how to do it he'll do it in 3 sec and I'll be unimaginably thankful.