Duddela Sai Prashanth
Followers: 0 Following: 0
Statistiques
0 Questions
5 Réponses
RANG
18 637
of 295 467
RÉPUTATION
2
CONTRIBUTIONS
0 Questions
5 Réponses
ACCEPTATION DE VOS RÉPONSES
0.00%
VOTES REÇUS
1
RANG
of 20 234
RÉPUTATION
N/A
CLASSEMENT MOYEN
0.00
CONTRIBUTIONS
0 Fichier
TÉLÉCHARGEMENTS
0
ALL TIME TÉLÉCHARGEMENTS
0
RANG
of 153 912
CONTRIBUTIONS
0 Problèmes
0 Solutions
SCORE
0
NOMBRE DE BADGES
0
CONTRIBUTIONS
0 Publications
CONTRIBUTIONS
0 Public Chaîne
CLASSEMENT MOYEN
CONTRIBUTIONS
0 Point fort
NOMBRE MOYEN DE 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...
environ 6 ans il y a | 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 ...
environ 6 ans il y a | 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 ...
environ 6 ans il y a | 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); ...
environ 6 ans il y a | 0
Error: Unexpected MATLAB expression.
function dollar = fare(miles,age) if miles <= 0 dollar = 0; elseif miles > 0 && miles < 1 dollar = ...
environ 6 ans il y a | 0