![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/8923042.jpg)
uu tsi
2016 年からアクティブ
Followers: 0 Following: 0
統計
All
Feeds
質問
How to genneral a repeat array
I have a array a = [1, 2 , 3 ,4], I want to repeat every element 3 times. The result is [1,1,1,2,2,2,3,3,3,4,4,4]
8年弱 前 | 3 件の回答 | 0
3
回答回答済み
How to change the linewidth of a curve in a graph by using code?
use *linewidth* x=linspace(0,2*pi); y=sin(x); plot(x, y, 'linewidth',2)
How to change the linewidth of a curve in a graph by using code?
use *linewidth* x=linspace(0,2*pi); y=sin(x); plot(x, y, 'linewidth',2)
8年弱 前 | 1
| 採用済み
回答済み
Sorting element pairs by differences?
the following is my code values = [1,2,1.5,1.9]; ss = nchoosek(values, 2); [~, idx] = sort(abs(diff(ss'))); res = ss(...
Sorting element pairs by differences?
the following is my code values = [1,2,1.5,1.9]; ss = nchoosek(values, 2); [~, idx] = sort(abs(diff(ss'))); res = ss(...
8年弱 前 | 3
| 採用済み
回答済み
Data from multiple cells into one cell
I think you can use *end + 1* ex: a = {} while true a{end + 1} = rand(randi(5)) end
Data from multiple cells into one cell
I think you can use *end + 1* ex: a = {} while true a{end + 1} = rand(randi(5)) end
8年弱 前 | 0
回答済み
How to determine if a segment lies on a polygon?
you can use *inpolygon* function to check if a point in a polygon.
How to determine if a segment lies on a polygon?
you can use *inpolygon* function to check if a point in a polygon.
8年弱 前 | 0