Risposto
Sym 1x1 in Matrix
syms th1(t) th2(t) th3(t) th1_d(t) th2_d(t) th3_d(t) a1 a2 a3 m1 m2 m3 g P2 = [a2*cos(th1)*cos(th2)/2; a2*sin(th1)*cos(th2)/2; ...

oltre 4 anni fa | 0

Risposto
How to save data of a continuous signal to the workspace where multiple simulink models are running in matlab R2016a.
Assuming the signals are continuous, the average value of a signal f(t) at over the interval from 0 to T is: So, input the si...

oltre 4 anni fa | 0

Domanda


What Should Happen when a Live Script is Executed from the Command Line?
I have a Live Script myscript.mlx. I accidentally used myscript as a command on the command line >> myscript As soon a I hit ...

oltre 4 anni fa | 1 risposta | 0

1

risposta

Risposto
How can i generate random variablewith non chi square distribution for product Nakagami distribution
The Statistics and Machine Learning toolbox supports the non-central chi squared distribution, if that’s what you are looking fo...

oltre 4 anni fa | 0

Risposto
How can I create a custom probability distribution?
Check out the doc page for distributionFitter and the associated Distribution Fitter app. Despite the name, the app can be used ...

oltre 4 anni fa | 1

| accettato

Risposto
Different Fourier transform (fft) of the same signal with different sampling frequency
What is meant by "insensitive?" I don't see how DFTs could, in general, be the same for different samples of a continuous tim...

oltre 4 anni fa | 1

Risposto
Minreal function difference between 2021a and 2021b
Running 2021b in the Answers facility yieds results that are very close to, but not exactlyl the same as, what you got in 2021a....

oltre 4 anni fa | 0

| accettato

Risposto
Problem in matrix partition for uncertain system: how to find matrices A, B1, B2, C1, C2, D11, D12, D21, D22?
Edit: This answer thread was intended to be a response to this comment. %% Plant Paramiters Ts= 0.0005; f= 60; Wo= 2*pi*f; ...

oltre 4 anni fa | 0

Risposto
How can I generate the energy vector?
@studentmatlaber I believe that you are correct that in discrete time the energy of a signal is given by syms s(n) E assume(n...

quasi 5 anni fa | 0

Risposto
Is there any way to represent symbolic variables as I write from left to right?
Since R2021a, one can define symbolic matrices. I haven't really used them too much and so don't know how to get any further th...

quasi 5 anni fa | 1

| accettato

Risposto
DTFT on for filter
What exactly is not matching for h2? Did you do something different for h1? Looks like freqz returns the DTFT of h2 as it shoul...

quasi 5 anni fa | 0

Risposto
bodeplot(), setoptions - YLabel, How to set?
opts = bodeoptions; opts.Ylabel.String = {'mymag' 'myphase'}; bodeplot(tf(1,[1 1]),opts)

quasi 5 anni fa | 1

Risposto
error using ss2tf function
Define the nonlinear output equation y = h(x,u), take the jacobians wrt x and u, and evaluate them at the equilibirium point. Th...

quasi 5 anni fa | 1

Risposto
Why is the output for undersampling and oversampling of a CT signal same?
I'm not sure if this explains it clearly but .... in DT frequency defines an angle around the unit circle. In the oversampled ca...

quasi 5 anni fa | 1

| accettato

Risposto
How to make the zplane function to plot on a existing axes?
You can specify an existing axis via a third argument. I didn't see this on the doc page, but it does show up in the help, hel...

quasi 5 anni fa | 1

| accettato

Risposto
Manipulating Bode plot with known poles and zeros.
The poles and zeros in zpk should be in rad/s (at least with the default settings). So the poles are at -[GBW SP]*2*pi. Then ...

quasi 5 anni fa | 0

Risposto
why is the zpk function not producing the transfer function in MATLAB?
What output is expected? It looks like zpk() is returning a zpk object with poles and zeros at locations shown on the plot. a =...

quasi 5 anni fa | 0

Risposto
Why sim function clears workspace when is called from a script?
How do irradiacion, temperatura, and N_parallel get pulled into the simulation? I thought the command sim('solarcell.slx') wil...

quasi 5 anni fa | 0

Risposto
parfor treats variable as function
Is dronePaths loaded from map44.mat? If so, that could be the cause of the problem. See this link for discussion of similar iss...

quasi 5 anni fa | 0

Risposto
Evaluating derivative using symbolic toolbox
Two ways to do this: syms x f_of_x = x^2 * sin(x); der = diff(f_of_x,x) % I like to be explicit on the variable of differenti...

quasi 5 anni fa | 1

| accettato

Risposto
Accessing frequencies of arbitrarily selected histogram bins
The bin values are stored as propreties of the histogram object, which can be returned from histogram. rng(101) x = rand(20,1)...

quasi 5 anni fa | 1

Risposto
Is it possible to solve difference equation in MATLAB?
At least three ways this problem can be solved in Matlab that have been discussed in this thread. I thought it might be helpful...

quasi 5 anni fa | 2

Risposto
Interpretation of diskmargin()
The essence of a robust control system is that all points on the Nyquist plot of the loop transfer function be at a "far" distan...

quasi 5 anni fa | 0

| accettato

Risposto
Construct i.i.d. Bernoulli variables with MATLAB
Following code illustrates the expected result with p = 0.4. I wasn't sure why the Question was using 3-dimensional matrices, s...

quasi 5 anni fa | 1

| accettato

Risposto
Simulink transfer function matrix
If by delay transfer function you mean z^-1, the Delay block can accept an input of any dimension.

quasi 5 anni fa | 0

Risposto
why my deconvolution want fit my analytique form?
For a real and b complex, the theoretical equations should be (illusrated with short sequences) a = rand(1,5); b = rand(1,5) +...

quasi 5 anni fa | 0

| accettato

Risposto
how to substitute symbolic equation into symbolic equation, and to reorganize symbolic equations
syms epsilon_33 delta_0 d_33 s_33 f f_bl u k_s k_l n V A L_s t % known constants d_33 = 3400e-12; s_33 = 169e-12; f = 60; u...

quasi 5 anni fa | 0

Risposto
How can I check if a cell array contains multiple strings without loops ?
Assuming that numerical indices are desired (as apposed to logical) % example data FileNames={'20-MAG-C-Z1-S0A','20-MAG-C-Z2-S...

quasi 5 anni fa | 0

| accettato

Risposto
How to find constants of integral knowing initial conditions
Use solve() Raz=26.67*10^3; qo=20; L=3000; M=10*10^6; E=2.1*10^5; d=100; Izz=(pi*d^4)/64; syms x C1 C2 My_x=-Raz*x+(qo*...

quasi 5 anni fa | 1

| accettato

Risposto
DSP Format Discrete Transfer Function Matlab
You can use freqz() if you want, Because filt() returns a tf object from the Control System Toolbox, bode() or bodeplot() functi...

quasi 5 anni fa | 0

| accettato

Carica altro