whats the command to find quotient in MATLAB 2008b ?
43 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
whats the command to find quotient in MATLAB 2008b ?
1 Kommentar
Rednar
am 12 Jul. 2013
You could use the function "idivide" which includes the rounding option. http://www.mathworks.co.uk/help/matlab/ref/idivide.html
The simple way though would be to do A./B
Antworten (3)
the cyclist
am 12 Jul. 2013
Bearbeitet: the cyclist
am 12 Jul. 2013
You're probably going to want to use one of the slash operators:
doc slash
for details.
For example:
A = [1 2 3];
B = [7 8 9];
C = A./B;
0 Kommentare
Saksham Popli
am 28 Okt. 2020
function r=digit_sum(input)
r=rem(input,10);
q=fix(input/10);
if q==0
r=r;
else
r=r+digit_sum(q);
end
end
0 Kommentare
Siehe auch
Kategorien
Mehr zu Get Started with MATLAB finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!