
Paul
Content Feed
답변 있음
How can I get the parameters of a MATLAB Function programmatically on command line
For a specific Matlab Function block, as asked in the question (I have a simple Matlab Function block in my model with one input...
How can I get the parameters of a MATLAB Function programmatically on command line
For a specific Matlab Function block, as asked in the question (I have a simple Matlab Function block in my model with one input...
24분 전 | 0
답변 있음
Simulink State Space Error
Hi Dylan, Unclear why the error message refers to "Project1/Step" when the model apparently does not contain a Step block. Any...
Simulink State Space Error
Hi Dylan, Unclear why the error message refers to "Project1/Step" when the model apparently does not contain a Step block. Any...
약 5시간 전 | 1
| 수락됨
답변 있음
IMU sensor fusion: imufilter command reduces number of samples
Hi Aishwarya, Because the decimation factor is 2, shoudn't it be expected that there be half as many output samples as there ar...
IMU sensor fusion: imufilter command reduces number of samples
Hi Aishwarya, Because the decimation factor is 2, shoudn't it be expected that there be half as many output samples as there ar...
약 21시간 전 | 0
답변 있음
Using a persistent array in a Simulink function block
Hi richard, The typical structure would look like this: function [a11, a12, a21, a22, b1, b2] = fcn(I_in, V_out, U_in) persis...
Using a persistent array in a Simulink function block
Hi richard, The typical structure would look like this: function [a11, a12, a21, a22, b1, b2] = fcn(I_in, V_out, U_in) persis...
1일 전 | 0
| 수락됨
답변 있음
simple test for nufft not working
Hi Pieter, I don't think that expression for Y(k) is correct. We can check symbolically %% define signal t = sym([-1.0,1.0]);...
simple test for nufft not working
Hi Pieter, I don't think that expression for Y(k) is correct. We can check symbolically %% define signal t = sym([-1.0,1.0]);...
1일 전 | 0
| 수락됨
답변 있음
In kalman filter, the elements of state transition matrix using fourth-order runge-kutta integration
Hi Chong-You, It sounds like the system is linear and time invariant. In continuous time, the state dynamics are: xdot(t) = A...
In kalman filter, the elements of state transition matrix using fourth-order runge-kutta integration
Hi Chong-You, It sounds like the system is linear and time invariant. In continuous time, the state dynamics are: xdot(t) = A...
2일 전 | 0
답변 있음
Using Bus in Simulink
Does Load Data using the From Workspace Block include an example that will help?
Using Bus in Simulink
Does Load Data using the From Workspace Block include an example that will help?
2일 전 | 0
답변 있음
Error using symfun/subsref (line 203) Invalid argument at position 2.
Hi Catalina, Need to subscript N in the foor loop to create a vector with 3 elements. Also, the final construction of N had an ...
Error using symfun/subsref (line 203) Invalid argument at position 2.
Hi Catalina, Need to subscript N in the foor loop to create a vector with 3 elements. Also, the final construction of N had an ...
2일 전 | 0
답변 있음
Convert cell array of string arrays to a single string array
Hi Charles Use vertcat with a comma separated list as the input my_cell = cell(5,1); % Assign some values my_cell{1} = "even...
Convert cell array of string arrays to a single string array
Hi Charles Use vertcat with a comma separated list as the input my_cell = cell(5,1); % Assign some values my_cell{1} = "even...
3일 전 | 0
| 수락됨
답변 있음
Function writing in MATLAB in symbolic format
It appears that the symfun objects have to have the same arguments (number and order) to add them syms rho(x,y,z,t) rho_m(x,y,z...
Function writing in MATLAB in symbolic format
It appears that the symfun objects have to have the same arguments (number and order) to add them syms rho(x,y,z,t) rho_m(x,y,z...
6일 전 | 0
답변 있음
How to input exponentials in transfer functions using Simulink?
In addition to using a single transfer function along with gains and transport delays as suggested by @Sam Chak, if you have the...
How to input exponentials in transfer functions using Simulink?
In addition to using a single transfer function along with gains and transport delays as suggested by @Sam Chak, if you have the...
6일 전 | 0
답변 있음
How to use a from workspace function for a 1D lookup table
Dose input_grafiek have a constant value over the entire simulation run? If it does, don't use a From Workspace block. Instead, ...
How to use a from workspace function for a 1D lookup table
Dose input_grafiek have a constant value over the entire simulation run? If it does, don't use a From Workspace block. Instead, ...
8일 전 | 0
| 수락됨
답변 있음
Get Intermediate Signal of Block Diagram for Control System
Hi Ian, AFACIT, you did everything correctly as far as defining and connecting the diagram. With the PID controller defined, th...
Get Intermediate Signal of Block Diagram for Control System
Hi Ian, AFACIT, you did everything correctly as far as defining and connecting the diagram. With the PID controller defined, th...
9일 전 | 1
| 수락됨
답변 있음
How can i remove (or hide) the time units ("(seconds)") from the stepplot graphic in the x-axis?
If you're willing to accept 'hours' in the label instead of 'horas' then set the TimeUnit property of M numM=[1.123]; denM=[1 ...
How can i remove (or hide) the time units ("(seconds)") from the stepplot graphic in the x-axis?
If you're willing to accept 'hours' in the label instead of 'horas' then set the TimeUnit property of M numM=[1.123]; denM=[1 ...
9일 전 | 0
| 수락됨
답변 있음
Binärsignal transformation 100 [Hz] --> 2000 [Hz]
Hi julius, Does repelem meet the requirement. Here's a small example to repeat each element three times (instead of 20) to mak...
Binärsignal transformation 100 [Hz] --> 2000 [Hz]
Hi julius, Does repelem meet the requirement. Here's a small example to repeat each element three times (instead of 20) to mak...
10일 전 | 0
답변 있음
How to test if an object is a simulink.parameter ?
Hi Alexandre Use find on dictionary section object to find the entries that meet the desired criterion. >> myDictionaryObj = S...
How to test if an object is a simulink.parameter ?
Hi Alexandre Use find on dictionary section object to find the entries that meet the desired criterion. >> myDictionaryObj = S...
10일 전 | 1
| 수락됨
답변 있음
Error: Simulink Scope Block does not support 'Array' format for logging matrix signals
Why not use a To Workspace block? If haven't done already this doc page is a good place to start to compare all options. In ...
Error: Simulink Scope Block does not support 'Array' format for logging matrix signals
Why not use a To Workspace block? If haven't done already this doc page is a good place to start to compare all options. In ...
10일 전 | 0
| 수락됨
답변 있음
Simulink error: Time-Varying State Space block
Hi John, In the Constant blocks for sys_lqr.B and sys_lqr.C try clearing the block parameter "Interpret vector parameters as 1-...
Simulink error: Time-Varying State Space block
Hi John, In the Constant blocks for sys_lqr.B and sys_lqr.C try clearing the block parameter "Interpret vector parameters as 1-...
11일 전 | 1
답변 있음
recreating nyquist regions using FFT
Are the "third" and "fourth" Nyquist zone the frequencies from Fs to 3*Fs/2 and from 3*Fs/2 to 2*Fs respectively? If so, third...
recreating nyquist regions using FFT
Are the "third" and "fourth" Nyquist zone the frequencies from Fs to 3*Fs/2 and from 3*Fs/2 to 2*Fs respectively? If so, third...
11일 전 | 0
질문
Did mldivide Implementation Change in R2022b?
When I run this code here on 2022b (actually, 2023a now, but I saw the same effect on 2022b) I get: load('mldivdivideex') form...
11일 전 | 답변 수: 1 | 0
1
답변답변 있음
why do my spectrogram values are negative and how to read them?
The power levels are in dB. Any positive number less than 1 is negative when converted to dB pow2db(0.5) See pow2db.
why do my spectrogram values are negative and how to read them?
The power levels are in dB. Any positive number less than 1 is negative when converted to dB pow2db(0.5) See pow2db.
12일 전 | 0
답변 있음
How to use Cell array as block parameter using setBlockParameter in Simulink?
Hi David-ucr, I don't have 2022b and can't find EVModel in 2022a, so can't test. I also couldn't find it on the 2022b Simulink ...
How to use Cell array as block parameter using setBlockParameter in Simulink?
Hi David-ucr, I don't have 2022b and can't find EVModel in 2022a, so can't test. I also couldn't find it on the 2022b Simulink ...
12일 전 | 0
| 수락됨
답변 있음
Resample function is not working properly and damaging the signal
Hi goksu, The observed behavior is documented at resample specifcally here: "... resample assumes that the input sequence, x, ...
Resample function is not working properly and damaging the signal
Hi goksu, The observed behavior is documented at resample specifcally here: "... resample assumes that the input sequence, x, ...
12일 전 | 2
답변 있음
Transfer function matrix of a Multiple input DC-DC converter
Does linearize work on Simulink Simscape models?
Transfer function matrix of a Multiple input DC-DC converter
Does linearize work on Simulink Simscape models?
13일 전 | 0
답변 있음
use green therom to find counter clockwise circulation and outward flux
Isn't the answer 0? Using the approach referenced here syms x y real % vector field F = [7*x-3*y, 7*y-3*x]; % Define the ...
use green therom to find counter clockwise circulation and outward flux
Isn't the answer 0? Using the approach referenced here syms x y real % vector field F = [7*x-3*y, 7*y-3*x]; % Define the ...
16일 전 | 0
답변 있음
Subsystem with similar functionality as of "Unit Delay"
Does the Delay block meet the need? It can accept an IC from an external source and is externally resettable.
Subsystem with similar functionality as of "Unit Delay"
Does the Delay block meet the need? It can accept an IC from an external source and is externally resettable.
16일 전 | 0
답변 있음
Magnitude of a vector with unit
Looks like simplify pulls the unit^2 out of the root u=symunit; x=[1 2 3]*(u.m); norm(x) simplify(norm(x)) vpa(ans) x=[1 2...
Magnitude of a vector with unit
Looks like simplify pulls the unit^2 out of the root u=symunit; x=[1 2 3]*(u.m); norm(x) simplify(norm(x)) vpa(ans) x=[1 2...
16일 전 | 1
| 수락됨
답변 있음
Extract time signal of specific frequences from a given time series signal
Hi Chenghao, I suspect the issue is related to the duration of x relative to the dynamics of the transient response of the filt...
Extract time signal of specific frequences from a given time series signal
Hi Chenghao, I suspect the issue is related to the duration of x relative to the dynamics of the transient response of the filt...
17일 전 | 0
답변 있음
fft2 results don't match the analytical Fourier transform results
Hi Seyedalireza, The code below get closer, maybe all the way there, by addressing a few issues % Define the dimensions of the...
fft2 results don't match the analytical Fourier transform results
Hi Seyedalireza, The code below get closer, maybe all the way there, by addressing a few issues % Define the dimensions of the...
17일 전 | 1
| 수락됨
답변 있음
ODE45 error must return column vector
Try doing what the error message says and make sure that F is a column vector. Here's one option dFdt = [dCadt ; dCbdt ; dCcdt]...
ODE45 error must return column vector
Try doing what the error message says and make sure that F is a column vector. Here's one option dFdt = [dCadt ; dCbdt ; dCcdt]...
17일 전 | 0
| 수락됨