Statistica
MATLAB Answers
1 Domanda
0 Risposte
RANK
165.623
of 300.840
REPUTAZIONE
0
CONTRIBUTI
1 Domanda
0 Risposte
ACCETTAZIONE DELLE RISPOSTE
0.0%
VOTI RICEVUTI
0
RANK
of 171.238
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
Domanda
How can I Write a function that takes as input two numbers, x and y, and outputs √xy if they have the same signs, x y if they have opposite signs, and 0 if either is zero
numbers=input('x','s'); if numbers(diff(sign(x(x~=0)))) disp('sqrt(x*y).') elseif numbers isequal(sign(previous), sign(cu...
quasi 6 anni fa | 1 risposta | 0