amjad khan
Followers: 0 Following: 0
Statistics
0 Questions
3 Answers
RANK
7,202
of 295,527
REPUTATION
6
CONTRIBUTIONS
0 Questions
3 Answers
ANSWER ACCEPTANCE
0.00%
VOTES RECEIVED
3
RANK
of 20,242
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANK
of 154,057
CONTRIBUTIONS
0 Problems
0 Solutions
SCORE
0
NUMBER OF BADGES
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Feeds
if-statement with conditions.
function out(condition,in1,in2) if condition>0 % it is logical out=in1; else out=2; end
4 years ago | 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...
4 years ago | 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 ...
4 years ago | 2