Community Profile # Hayden Garmon

##### Last seen: 4 days ago
7 total contributions since 2020

#### Hayden Garmon's Badges

• • • • View details...

Contributions in
View by

Question

Simulink - Variable Size
Within my simulink model I have the following function, which defines my PWM Duty Cycle: function DutyValue = fcn(u,StepTime,S...

2 months ago | 1 answer | 0

### 1

answer

Answered
fill column elements with the column number?
m=5;% m is length of columns n=4;% n is number of columns for i =1:n A(:,i)=ones(m,1)*i ; end A = 1 2 ...

7 months ago | 1

| accepted

Answered
Scatter Plot Vectors of Different Lengths
Does this work? vec1= [ 33, 43, 45, 34]; vec2= [ 44, 47, 43, 48, 49, 46]; vec3= [ 54, 47, 56, 57, 49] ; plot(ones(1,length...

8 months ago | 1

| accepted

Question

How to write a for loop to populate a powerpoint slide deck?
import mlreportgen.ppt.* slides = Presentation('Waveform Plotting'); add(slides,'Title Slide',1); contents = find(slides,...

8 months ago | 1 answer | 0

### 1

answer

Answered
How can I create a vector with constrains on Matlab?
Does this work for you? % b=combnk(1:46,40); if you want to make many vectors, run a for loop with rows from this b=1:40; % ...

9 months ago | 0

Question

Extracting Numbers from a mixed string
Hi! I would like to know how to extact the numbers from this string, such that: a = [ 3.00, 3.1390 , 0.0070, 1160] b = ...

9 months ago | 2 answers | 0

### 2

answers

Question

Reading multiple values from an n*1 cell array.
I am trying to convert an n*1 cell array into an n*5 matrix of doubles {'3.748 2.858136 21.447754 13.853117 -9.113155'...

10 months ago | 1 answer | 0

answer