![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/17980453_1585476072224_DEF.jpg)
amjad khan
Followers: 0 Following: 0
Statistica
MATLAB Answers
0 Domande
3 Risposte
RANK
7.182
of 292.708
REPUTAZIONE
6
CONTRIBUTI
0 Domande
3 Risposte
ACCETTAZIONE DELLE RISPOSTE
0.00%
VOTI RICEVUTI
3
RANK
of 147.865
CONTRIBUTI
0 Problemi
0 Soluzioni
PUNTEGGIO
0
NUMERO DI BADGE
0
CONTRIBUTI
0 Post
CONTRIBUTI
0 Pubblico Canali
VALUTAZIONE MEDIA
CONTRIBUTI
0 Punti principali
NUMERO MEDIO DI LIKE
Feeds
Risposto
if-statement with conditions.
function out(condition,in1,in2) if condition>0 % it is logical out=in1; else out=2; end
if-statement with conditions.
function out(condition,in1,in2) if condition>0 % it is logical out=in1; else out=2; end
oltre 4 anni fa | 0
Risposto
Calculate taxi fare by giving multiple inputs and single output
function fare=taxi_fare(distance,time) distance=ceil(distance-1) time=ceil(time) fare=5*(2+(distance-1)+0.25*time...
Calculate taxi fare by giving multiple inputs and single output
function fare=taxi_fare(distance,time) distance=ceil(distance-1) time=ceil(time) fare=5*(2+(distance-1)+0.25*time...
oltre 4 anni fa | 1
Risposto
A basic question of matrix indexing can't get a proper output
A = [1:5; 6:10; 11:15; 16:20]; v=A(:,2) % assigning variable v to the second column of matrix "A" A(4,:)=0 % changing all the ...
A basic question of matrix indexing can't get a proper output
A = [1:5; 6:10; 11:15; 16:20]; v=A(:,2) % assigning variable v to the second column of matrix "A" A(4,:)=0 % changing all the ...
oltre 4 anni fa | 2