Risposto

Plot Graph with different b Values

There is no declaration of 'r'. I guess it should be instead of 'i'? Not sure what exactly you want to plot and/or how 'M' shou...

Plot Graph with different b Values

There is no declaration of 'r'. I guess it should be instead of 'i'? Not sure what exactly you want to plot and/or how 'M' shou...

oltre 2 anni fa | 0

Risposto

bars with mean and std on them

replace the XEndPoints/YEndPoints by XData(end)/YData(end): xtips1 = b(1).XData(end); ytips1 = b(1).YData(end); Btw, xtickl...

bars with mean and std on them

replace the XEndPoints/YEndPoints by XData(end)/YData(end): xtips1 = b(1).XData(end); ytips1 = b(1).YData(end); Btw, xtickl...

oltre 2 anni fa | 0

| accettato

Risposto

How can I separate data that does not fit the required format?

Maybe I didn't get your issue, but what about using "contains" and searching for a specific identifier? E.g. contains([your_hex...

How can I separate data that does not fit the required format?

Maybe I didn't get your issue, but what about using "contains" and searching for a specific identifier? E.g. contains([your_hex...

oltre 2 anni fa | 0

| accettato

Risposto

Index exceeds the number of array elements: in case of for loop.

k4 has 8 members. But the third member of Perm is 8. So plus one leads to 9 which is more than k4 contains k4(Perm(i)+1) = k4(9...

Index exceeds the number of array elements: in case of for loop.

k4 has 8 members. But the third member of Perm is 8. So plus one leads to 9 which is more than k4 contains k4(Perm(i)+1) = k4(9...

oltre 2 anni fa | 1

Risposto

Making a change in appdesigner when deployed permanent

You have to use "load" / "save" functions to store and reload your settings. The app does not support permanent changes of the ...

Making a change in appdesigner when deployed permanent

You have to use "load" / "save" functions to store and reload your settings. The app does not support permanent changes of the ...

oltre 2 anni fa | 0

| accettato

Risposto

Concatenate signals ( sine wave and a line )

I guess you want to add a X/Y line after the sine wave, right? In this case you have to concatenate X + t and Y + a in order to...

Concatenate signals ( sine wave and a line )

I guess you want to add a X/Y line after the sine wave, right? In this case you have to concatenate X + t and Y + a in order to...

oltre 2 anni fa | 1

Risposto

wrong number of rows of cell array using length()-function

You should use the size command to distinguish between row and col. To be more precise: length(X) returns the length of vect...

wrong number of rows of cell array using length()-function

You should use the size command to distinguish between row and col. To be more precise: length(X) returns the length of vect...

oltre 2 anni fa | 0

| accettato

Risposto

How to select a column on basis of some conditions on the rows?

Does this solve your problem? x = x(:, x(1, :) > 0 & x(2, :) > 0 & x(4, :) < 0)

How to select a column on basis of some conditions on the rows?

Does this solve your problem? x = x(:, x(1, :) > 0 & x(2, :) > 0 & x(4, :) < 0)

oltre 2 anni fa | 0

| accettato

Risposto

how to do sum of element of multiple number in matlab?

Not sure whether I got your issue. But in case you want to summarize all members of m starting at index 1, up to each member of ...

how to do sum of element of multiple number in matlab?

Not sure whether I got your issue. But in case you want to summarize all members of m starting at index 1, up to each member of ...

oltre 2 anni fa | 0

Risposto

Cut out all of a square array except for a specified NxN section in the middle.

Try this: rowOffset = (rowdim-m)/2; columnOffset = (columndim-m)/2; centerMatrix = x(rowOffset+1:end-rowOffset,...

Cut out all of a square array except for a specified NxN section in the middle.

Try this: rowOffset = (rowdim-m)/2; columnOffset = (columndim-m)/2; centerMatrix = x(rowOffset+1:end-rowOffset,...

oltre 2 anni fa | 1

Risposto

load x,y

There are certainly different ways to do so. E.g.: x = 1:1:10; y1=[0.5 1.7 1.75 1.9 2 2.1 2.4 2.6 2.7 2.9 ]; y2=[0.7 1.8 1...

load x,y

There are certainly different ways to do so. E.g.: x = 1:1:10; y1=[0.5 1.7 1.75 1.9 2 2.1 2.4 2.6 2.7 2.9 ]; y2=[0.7 1.8 1...

oltre 2 anni fa | 0

Domanda

Data Type Conversion does not convert to boolean when attached to transfer function block

Hello, I attached a "Data Type Conversion" block to a PT1 low pass filter (transfer function) trying to convert the ouptut sign...

circa 3 anni fa | 1 risposta | 1

Domanda

report generator can't handle blanks in path name

Hello, in order to use the report generator of Matlab I created the needed template sheet with a relative path to an image whi...

circa 3 anni fa | 0 risposte | 0

Domanda

How to print certain block of Simulink model

Hello, I'm trying to get an image of a specific block inside a Simulink model - programmatically. I tried the following: 1)...

oltre 4 anni fa | 1 risposta | 0

Risposto

dynamically change simulink library path

Hello, many thanks for your efforts. Meanwhile I found a workaround which does the job. It points to the direction Fangjun pr...

dynamically change simulink library path

Hello, many thanks for your efforts. Meanwhile I found a workaround which does the job. It points to the direction Fangjun pr...

oltre 4 anni fa | 0

| accettato

Domanda

dynamically change simulink library path

Hello, without changing the Simulink model I'd like to switch between two source libraries for the blocks the model contains....

oltre 4 anni fa | 2 risposte | 0