Answered
How do you extract diagonal elements of a cell array?
Assuming your matrix "data" is equal in x and y dimension: [y,x] = size(data) selected_values = data([1:y+1:x*y]) Alternative...

2 years ago | 0

| accepted

Answered
I need to combine data provided as a six different cell array in one cell
You could try datestr(datenum(combined_in_one_file(:,1:6)))

2 years ago | 0

Answered
How to store results in a structure, by using parfor loop ?
Matlab does not support dynamically changing array sizes in parfor loops. You need to preallocate your struct. Try this: N = 2...

2 years ago | 0

| accepted

Answered
High pass filter design with magnitude and frequency plot
Assuming you own Control System Toolbox or System Identification Toolbox, you could use the "bode" command. https://de.mathwor...

2 years ago | 0

| accepted

Answered
how to make the graph start at axis-y = 0 ?
Assuming the data you are plotting are vectors called x_data, y_data You could offset your data to achieve your goal. x_data...

2 years ago | 0

Answered
Excluding 0.5 from rounding
if mod(x,1) ~= 0.5 x = round(x) end

2 years ago | 1

Question


How to retrieve the Inport names/labels of a Stateflow chart?
Hello, I am looking for a way to programatically retrieve the portnames of a stateflow chart. Curiously get_param(gcb,'OutputSi...

2 years ago | 2 answers | 0

2

answers