
Roweida Bawab
Statistics
0 Questions
2 Answers
RANK
159 247
of 275 727
REPUTATION
0
CONTRIBUTIONS
0 Questions
2 Answers
ANSWER ACCEPTANCE
0.00%
VOTES RECEIVED
0
RANK
of 18 573
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANK
of 125 548
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
Content Feed
Write a function called picker that takes three input arguments called condition, in1 and in2 in this order. The argument condition is a logical. If it is true, the function assigns the value of in1 to the output argument out, otherwise, it assigns
This is how I solved it function out = picker (condition, in1, in2) if condition == true out = in1; else out = in2; ...
nästan 3 år ago | 0
Calculate taxi fare by giving multiple inputs and single output
function fare = taxi_fare(d, t) d = ceil(d); t = ceil(t); fare = 5 + (d-1)*2 + t*0.25 end
nästan 3 år ago | 0