統計
MATLAB Answers
1 質問
0 回答
ランク
of 171,319
コントリビューション
0 問題
0 解答
スコア
0
バッジ数
0
コントリビューション
0 投稿
コントリビューション
0 パブリック チャネル
平均評価
コントリビューション
0 ハイライト
平均いいねの数
Feeds
質問
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...
6年弱 前 | 1 件の回答 | 0