Risposto
Running my script multiple times and storing variables in a matrix
I am not sure i understand what you are trying to achieve. What percentage are we talking about? It sounds like you want to call...

quasi 3 anni fa | 0

| accettato

Risposto
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...

quasi 3 anni fa | 0

| accettato

Risposto
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)))

quasi 3 anni fa | 0

Risposto
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...

quasi 3 anni fa | 0

| accettato

Risposto
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...

quasi 3 anni fa | 0

| accettato

Risposto
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...

quasi 3 anni fa | 0

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

quasi 3 anni fa | 1

Domanda


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...

quasi 3 anni fa | 2 risposte | 0

2

risposte