photo

Duddela Sai Prashanth


Last seen: ungefär 3 år ago Active since 2018

Followers: 0   Following: 0

Statistics

  • First Answer

View badges

Feeds

View by

Answered
Please Help Basics Made Hard
%This will work for sure.. Tested on different test cases function age = day_diff(m1,d1,m2,d2) m = [31 28 31 30 ...

ungefär 6 år ago | 0

Answered
How do you have a logical operator of true and false as your type but 0 and 1 as your value?
function [out] = eligible(v, q) if v > 88 && q > 88 && (v+q)/2 >= 92 out = true; else out = false; end ...

ungefär 6 år ago | 1

Answered
How to sort a 3 element vector input to scalar output?
function [a,b,c]= sort3(V) if V(1) >= V(2) && V(1) >= V(3) if V(2) >= V(3) c = V(1); b = V(2); a = V(3); ...

ungefär 6 år ago | 0

Answered
Error: Unexpected MATLAB expression.
function dollar = fare(miles,age) if miles <= 0 dollar = 0; elseif miles > 0 && miles < 1 dollar = ...

ungefär 6 år ago | 0