Answered
How do i plot N amount of rows into a point plot?
Whats the content of your variable "grades"? You can plot multiple lines one after the other with the hold command. (A,B,C,D,E,...

mer än 2 år ago | 0

| accepted

Answered
how can i use my function directly on a array without having x and y?
The function you defined has 3 arguments. x,y and a. function img(x,y,a) imagesc(x,y,a); set(gca,'YDir','normal'); ...

mer än 2 år ago | 0

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

mer än 2 år ago | 0

| accepted

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

mer än 2 år 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)))

mer än 2 år 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...

mer än 2 år 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...

mer än 2 år 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...

mer än 2 år ago | 0

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

mer än 2 år 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...

mer än 2 år ago | 2 answers | 0

2

answers