amjad khan
Followers: 0 Following: 0
Estadística
0 Preguntas
3 Respuestas
CLASIFICACIÓN
7.182
of 292.708
REPUTACIÓN
6
CONTRIBUCIONES
0 Preguntas
3 Respuestas
ACEPTACIÓN DE RESPUESTAS
0.00%
VOTOS RECIBIDOS
3
CLASIFICACIÓN
of 19.934
REPUTACIÓN
N/A
EVALUACIÓN MEDIA
0.00
CONTRIBUCIONES
0 Archivos
DESCARGAS
0
ALL TIME DESCARGAS
0
CLASIFICACIÓN
of 147.867
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
más de 4 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...
más de 4 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 ...
más de 4 años hace | 2