Write a MATLAB script to find the sum and the number of the odd negative numbers in a 𝑁 × 𝑀 matrix ?
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
clear all clc x=input('enter N x M marix '); a=rem(x,2); b=~a; z=~b; d=b .* x; k=d + z; z=prod(prod(k)); disp(['The multiplies of even number is equal to ' num2str(z)]);
0 Commenti
Risposte (1)
Vedere anche
Categorie
Scopri di più su Number Theory in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!