![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/17980453_1585476072224_DEF.jpg)
amjad khan
Followers: 0 Following: 0
Estadística
0 Preguntas
3 Respuestas
CLASIFICACIÓN
6.938
of 297.016
REPUTACIÓN
6
CONTRIBUCIONES
0 Preguntas
3 Respuestas
ACEPTACIÓN DE RESPUESTAS
0.00%
VOTOS RECIBIDOS
3
CLASIFICACIÓN
of 20.419
REPUTACIÓN
N/A
EVALUACIÓN MEDIA
0.00
CONTRIBUCIONES
0 Archivos
DESCARGAS
0
ALL TIME DESCARGAS
0
CLASIFICACIÓN
of 157.725
CONTRIBUCIONES
0 Problemas
0 Soluciones
PUNTUACIÓN
0
NÚMERO DE INSIGNIAS
0
CONTRIBUCIONES
0 Publicaciones
CONTRIBUCIONES
0 Público Canales
EVALUACIÓN MEDIA
CONTRIBUCIONES
0 Temas destacados
MEDIA DE ME GUSTA
Feeds
if-statement with conditions.
function out(condition,in1,in2) if condition>0 % it is logical out=in1; else out=2; end
casi 5 años hace | 0
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...
casi 5 años hace | 1
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 ...
casi 5 años hace | 2