ledinh lam
Attivo dal 2016
Followers: 0 Following: 0
Statistica
RANK
5.749
of 295.467
REPUTAZIONE
8
CONTRIBUTI
1 Domanda
3 Risposte
ACCETTAZIONE DELLE RISPOSTE
0.0%
VOTI RICEVUTI
3
RANK
of 153.912
CONTRIBUTI
0 Problemi
0 Soluzioni
PUNTEGGIO
0
NUMERO DI BADGE
0
CONTRIBUTI
0 Post
CONTRIBUTI
0 Pubblico Canali
VALUTAZIONE MEDIA
CONTRIBUTI
0 Punti principali
NUMERO MEDIO DI LIKE
Feeds
Risposto
Shifting number to end of an array
as they said above . you can use this code. function v = move_me(v,a) if nargin <2 a = 0; end v = [v(v ~...
Shifting number to end of an array
as they said above . you can use this code. function v = move_me(v,a) if nargin <2 a = 0; end v = [v(v ~...
quasi 8 anni fa | 1
Domanda
Write a function called day_diff that takes four scalar positive integer inputs, month1, day1, month2, day2. These represents the birthdays of two children who were born in 2015. The function returns a positive integer scalar that is equal to the dif
I can't deal it anymore. I have trouble to check an integer number or an array number in order to input argument in this problem...
quasi 8 anni fa | 4 risposte | 0
4
risposteRisposto
Creating a polyval function
function p = poly_val(c0,c,x) if isempty(c)==true p =c0; elseif isscalar(c)==true p = c0+c*x; else ...
Creating a polyval function
function p = poly_val(c0,c,x) if isempty(c)==true p =c0; elseif isscalar(c)==true p = c0+c*x; else ...
quasi 8 anni fa | 1
Risposto
How do you have a logical operator of true and false as your type but 0 and 1 as your value?
I think it will be : function el=eligible(v,q) if mean([v,q]) >= 92 && v>88 && q >88 el=true; else ...
How do you have a logical operator of true and false as your type but 0 and 1 as your value?
I think it will be : function el=eligible(v,q) if mean([v,q]) >= 92 && v>88 && q >88 el=true; else ...
quasi 8 anni fa | 1