uu tsi
Followers: 0 Following: 0
Statistiques
RANG
2 775
of 290 003
RÉPUTATION
20
CONTRIBUTIONS
1 Question
4 Réponses
ACCEPTATION DE VOS RÉPONSES
100.0%
VOTES REÇUS
4
RANG
13 692 of 19 618
RÉPUTATION
17
CLASSEMENT MOYEN
0.00
CONTRIBUTIONS
6 Fichiers
TÉLÉCHARGEMENTS
5
ALL TIME TÉLÉCHARGEMENTS
179
CONTRIBUTIONS
0 Publications
CONTRIBUTIONS
0 Public Chaîne
CLASSEMENT MOYEN
CONTRIBUTIONS
0 Point fort
NOMBRE MOYEN DE LIKES
Feeds
Question
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]
plus de 7 ans il y a | 3 réponses | 0
3
réponsesHow 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)
plus de 7 ans il y a | 1
| A accepté
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(...
plus de 7 ans il y a | 3
| A accepté
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
plus de 7 ans il y a | 0
How to determine if a segment lies on a polygon?
you can use *inpolygon* function to check if a point in a polygon.
plus de 7 ans il y a | 0