Solved

Times 2 - START HERE

Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

bijna 8 jaar ago

Answered

FixedStepDiscrete solver cannot be used with continuous states in OP5600 Opal-RT

Hello, you could use "Display/Sample Time/All" to highlight the blocks with continuous sample time in an own color. Note that...

FixedStepDiscrete solver cannot be used with continuous states in OP5600 Opal-RT

Hello, you could use "Display/Sample Time/All" to highlight the blocks with continuous sample time in an own color. Note that...

bijna 8 jaar ago | 1

Answered

compiling workspace variables in a model (protected or unprotected)

Hello, I suppose you can use the model workspace. You can achieve this by opening the Model Explorer (Ctrl + H) in your model...

compiling workspace variables in a model (protected or unprotected)

Hello, I suppose you can use the model workspace. You can achieve this by opening the Model Explorer (Ctrl + H) in your model...

bijna 8 jaar ago | 0

Answered

Simulink Signal Builder Custom signal help

Hello, Time Values: [0 1 1 2 2 3 3] Y Values: [0 0 1 1 -5 -5 5] Hope this helps. Kind regards, Stefan

Simulink Signal Builder Custom signal help

Hello, Time Values: [0 1 1 2 2 3 3] Y Values: [0 0 1 1 -5 -5 5] Hope this helps. Kind regards, Stefan

bijna 8 jaar ago | 2

Answered

How can I programmatically get the dimensions of a Simulink signal?

Hello, you could use Simulink.Bus.createObject and create a Bus object of the bus that is sent to workspace, for example like...

How can I programmatically get the dimensions of a Simulink signal?

Hello, you could use Simulink.Bus.createObject and create a Bus object of the bus that is sent to workspace, for example like...

bijna 8 jaar ago | 0

| accepted

Answered

How to create initial and final values on simulink?

Hello, I suppose you mean the inital values for the transfer function states? This question might be related to your problem:...

How to create initial and final values on simulink?

Hello, I suppose you mean the inital values for the transfer function states? This question might be related to your problem:...

bijna 8 jaar ago | 0

| accepted

Answered

I'm trying to do blood vessel segmentation and when i run my code i get "Error using .* Matrix dimensions must agree.

Hello, could you please format your code the next time in a way that it is readable at first sight? Do 'grayscalefundus.jp...

I'm trying to do blood vessel segmentation and when i run my code i get "Error using .* Matrix dimensions must agree.

Hello, could you please format your code the next time in a way that it is readable at first sight? Do 'grayscalefundus.jp...

bijna 8 jaar ago | 0

Answered

Simulink add vector as input to function block

Hello, at first I think that the syntax of your MATLAB code is wrong. It seems that you want to define a function in a for-l...

Simulink add vector as input to function block

Hello, at first I think that the syntax of your MATLAB code is wrong. It seems that you want to define a function in a for-l...

bijna 8 jaar ago | 0

Answered

How can I find eigenvectors of a matrix in Simulink?

Hi, if you execute "eig" from Simulink, all the output eigenvectors will be complex, as you can see at the page you already foun...

How can I find eigenvectors of a matrix in Simulink?

Hi, if you execute "eig" from Simulink, all the output eigenvectors will be complex, as you can see at the page you already foun...

ongeveer 8 jaar ago | 0

| accepted

Answered

How to run simulink model from a function file?

Hello, you have to specify which workspace the simulation should use. The default value is your base workspace, which is differe...

How to run simulink model from a function file?

Hello, you have to specify which workspace the simulation should use. The default value is your base workspace, which is differe...

meer dan 8 jaar ago | 0

Answered

How to Numerical Nyquist Plot?

Hello, actually the following code doesn't work: s = tf('s') phi = (2s +3)/(s+1).^2 nyquist(phi) I have to ask what...

How to Numerical Nyquist Plot?

Hello, actually the following code doesn't work: s = tf('s') phi = (2s +3)/(s+1).^2 nyquist(phi) I have to ask what...

meer dan 8 jaar ago | 0

| accepted

Answered

How do I make a cell array of doubles with non-uniform dimensions into a row numeric array? (not a column numeric array)

Try to create a new temporary variable for your new step_respone inside the while-loop. You want to convert the cell to a double...

How do I make a cell array of doubles with non-uniform dimensions into a row numeric array? (not a column numeric array)

Try to create a new temporary variable for your new step_respone inside the while-loop. You want to convert the cell to a double...

meer dan 8 jaar ago | 1

Answered

How do i plot multiple vectors tip to tail, beginning from the origin?

x = (vectors(:,1).*cosd(vectors(:,2))); y = (vectors(:,1).*sind(vectors(:,2))); plot([0; x; 0],[0; y; 0]); Is this what y...

How do i plot multiple vectors tip to tail, beginning from the origin?

x = (vectors(:,1).*cosd(vectors(:,2))); y = (vectors(:,1).*sind(vectors(:,2))); plot([0; x; 0],[0; y; 0]); Is this what y...

meer dan 8 jaar ago | 0

| accepted

Answered

how to solve three implicit equation?

Hi, at first you have to declare x, y and z as symbolic variables: syms x y z; Then you can use the function solve(): ...

how to solve three implicit equation?

Hi, at first you have to declare x, y and z as symbolic variables: syms x y z; Then you can use the function solve(): ...

meer dan 8 jaar ago | 0

| accepted

Answered

How do I get the element of a cell in a case_expression that matches the switch_expression?

find(ismember(a,'cat')) or find(ismember(a,b))

How do I get the element of a cell in a case_expression that matches the switch_expression?

find(ismember(a,'cat')) or find(ismember(a,b))

meer dan 8 jaar ago | 0

Answered

exist delta function ? in matlab??

You are looking for dirac(x). For more information type doc dirac in the Matlab command line

exist delta function ? in matlab??

You are looking for dirac(x). For more information type doc dirac in the Matlab command line

meer dan 8 jaar ago | 0

| accepted

Answered

how to express the below equation in matlab, consider the roll off factors are 0,0.25,0.5,0.75,1

Depending on what you want, there are several ways to do this: 1) Set alpha to the desired value and t to an array of your ti...

how to express the below equation in matlab, consider the roll off factors are 0,0.25,0.5,0.75,1

Depending on what you want, there are several ways to do this: 1) Set alpha to the desired value and t to an array of your ti...

meer dan 8 jaar ago | 0