Duddela Sai Prashanth
Followers: 0 Following: 0
Statistics
0 Questions
5 Answers
RANK
18,637
of 295,486
REPUTATION
2
CONTRIBUTIONS
0 Questions
5 Answers
ANSWER ACCEPTANCE
0.00%
VOTES RECEIVED
1
RANK
of 20,236
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANK
of 153,912
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
Write a function called holiday that takes two input arguments called month and day; both are scalar integers representing a month (1-12) and a day (1-31). You do not need to check that the input is valid. The function returns a logical true if the s
%Simplest one - Tested function value = holiday(month,day) if month == 1 && day == 1 value = true; els...
6 years ago | 0
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 ...
6 years ago | 0
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 ...
6 years ago | 1
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); ...
6 years ago | 0
Error: Unexpected MATLAB expression.
function dollar = fare(miles,age) if miles <= 0 dollar = 0; elseif miles > 0 && miles < 1 dollar = ...
6 years ago | 0