統計
All
Feeds
回答済み
新手:题目是“生成相量 A,其元素为区间[1,999]内的整数,然后找出 A 中能被 13 整除且 大于 500 的数。”
用来把筛选的结果存在C向量里,代码有点冗余,可以参考: C=[]; for i=500:999 if rem(i,13)==0 C=[C;i]; end end disp(C)
新手:题目是“生成相量 A,其元素为区间[1,999]内的整数,然后找出 A 中能被 13 整除且 大于 500 的数。”
用来把筛选的结果存在C向量里,代码有点冗余,可以参考: C=[]; for i=500:999 if rem(i,13)==0 C=[C;i]; end end disp(C)
3年以上 前 | 0
質問
How to show the cross cursor (instead of arrow) when clicking on the UIAxes in the App designer? How to save several coordinates when clicking for times via upButtonfunc?
I wanna obtain the coordinates through the UIFigureWindowButtonUp function. While only one point can be check when clicking once...
3年以上 前 | 1 件の回答 | 0
1
回答質問
How to obtain coordinate using 'ginput' in the UIaxis when coding in Appdesigner
When assigning the item in the Appdesigner, for example, [x,y]=ginput(app.UIaxis,2); it reminds the extra parameters. So how t...
3年以上 前 | 1 件の回答 | 0
1
回答送信済み
A plot of Lakers' team logo
Oseguera and Bowles' downburst wind profile model is included to draw the curve.
4年以上 前 | ダウンロード 1 件 |
解決済み
The Piggy Bank Problem
Given a cylindrical piggy bank with radius g and height y, return the bank's volume. [ g is first input argument.] Bonus though...
4年以上 前







