Réponse apportée
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; ...

plus de 4 ans il y a | 0

Réponse apportée
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...

plus de 4 ans il y a | 0

Question


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

plus de 4 ans il y a | 1 réponse | 0

1

réponse

Réponse apportée
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...

plus de 4 ans il y a | 0

Réponse apportée
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 ...

plus de 4 ans il y a | 1

| A accepté

Réponse apportée
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...

plus de 4 ans il y a | 1

Réponse apportée
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....

plus de 4 ans il y a | 0

| A accepté

Réponse apportée
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; ...

plus de 4 ans il y a | 0

Réponse apportée
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...

plus de 4 ans il y a | 0

Réponse apportée
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...

plus de 4 ans il y a | 1

| A accepté

Réponse apportée
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...

plus de 4 ans il y a | 0

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

plus de 4 ans il y a | 1

Réponse apportée
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...

plus de 4 ans il y a | 1

Réponse apportée
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...

plus de 4 ans il y a | 1

| A accepté

Réponse apportée
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...

plus de 4 ans il y a | 1

| A accepté

Réponse apportée
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 ...

plus de 4 ans il y a | 0

Réponse apportée
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 =...

plus de 4 ans il y a | 0

Réponse apportée
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...

plus de 4 ans il y a | 0

Réponse apportée
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...

plus de 4 ans il y a | 0

Réponse apportée
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...

plus de 4 ans il y a | 1

| A accepté

Réponse apportée
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)...

plus de 4 ans il y a | 1

Réponse apportée
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...

plus de 4 ans il y a | 2

Réponse apportée
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...

plus de 4 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 4 ans il y a | 1

| A accepté

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

plus de 4 ans il y a | 0

Réponse apportée
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) +...

plus de 4 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 4 ans il y a | 0

Réponse apportée
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...

plus de 4 ans il y a | 0

| A accepté

Réponse apportée
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*...

plus de 4 ans il y a | 1

| A accepté

Réponse apportée
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...

plus de 4 ans il y a | 0

| A accepté

Charger plus