photo

Stefan Raab


Last seen: 13 días hace Con actividad desde 2015

Followers: 0   Following: 0

Mensaje

Estadística

All
  • Knowledgeable Level 3
  • Knowledgeable Level 2
  • First Answer
  • Solver

Ver insignias

Feeds

Ver por

Respondida
Create vector/matrix inside function
Hello, this is because functions have their own workspace. There is a good explanation in the MATLAB doc, please execute the...

más de 8 años hace | 1

Respondida
Removing connecting lines between points in plot
Hello, add the following name value pair: 'LineStyle','none' Kind regards, Stefan

más de 8 años hace | 6

| aceptada

Respondida
Where did PID Tuner extended mode go?
Hello, set "Domain" from "Time" to "Frequency", then the Bandwith and Phase Margin can be tuned. Is this what you were lookin...

más de 8 años hace | 0

Respondida
Fill the array after each loop iteration
Hello, why use the |r| at all? Try n_iter = 10; cosTheta = zeros(1,n_iter); % Memory preallocation for k=1:n_iter ...

más de 8 años hace | 1

| aceptada

Respondida
how to assign values in for loop to a matrix in matlab function block?
Hello, the MATLAB Function block has limitations due to code generation. Either you preallocate the memory for |phi| and assi...

más de 8 años hace | 1

| aceptada

Respondida
What does this symbol in simulink represent?
Hello right click on a signal: *Linear Analysis Points/Input Perturbation*. You need Simulink Control Design for this. Kin...

más de 8 años hace | 0

| aceptada

Respondida
How do I import data form an excel file into MATLAB?
Hello, I think the following docs will help you. Execute the commands in the MATLAB Command Window: * Import Tool (Using G...

más de 8 años hace | 0

Respondida
How can I change the "Set Point"? (Feedback)
Hello, I think your feedback might not be correct. I will abbreviate _(X1-X2)_ as _Y_: _Y = G1(s) * (F(s)*W + C(s)*(R - Y)...

más de 8 años hace | 0

| aceptada

Respondida
Why I get different result at Simulink? (Matlab, Simulink)
Hello, I suppose that depends on the solver. The documentation of the "step" function describes in the "More About/Algorithms...

más de 8 años hace | 2

| aceptada

Respondida
Why doesn't my for loop work?
Hello, I think the error is in this assignment: userValues(i) = []; This will not just delete the value from the arra...

más de 8 años hace | 0

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

más de 8 años hace | 1

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

más de 8 años hace | 0

Respondida
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

más de 8 años hace | 2

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

más de 8 años hace | 0

| aceptada

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

más de 8 años hace | 0

| aceptada

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

más de 8 años hace | 0

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

más de 8 años hace | 0

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

casi 9 años hace | 0

| aceptada

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

alrededor de 9 años hace | 0

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

alrededor de 9 años hace | 0

| aceptada

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

alrededor de 9 años hace | 1

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

alrededor de 9 años hace | 0

| aceptada

Respondida
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(): ...

alrededor de 9 años hace | 0

| aceptada

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

alrededor de 9 años hace | 0

Respondida
exist delta function ? in matlab??
You are looking for dirac(x). For more information type doc dirac in the Matlab command line

alrededor de 9 años hace | 0

| aceptada

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

alrededor de 9 años hace | 0