Respondida
Error using Plot for Fourier Series
Something doesn't look right with x on the left and right hand sides of the equation. Maybe the x on the right hand side should ...

más de 4 años hace | 0

Respondida
Inverse Fourier Transform Using ifourier command
Sometimes simplify is needed: syms w t X(w) = 4*sin(w/2)^2/w^2; x(t) = ifourier(X(w),w,t) x(t) = simplify(x(t),100) fplot(x...

más de 4 años hace | 0

| aceptada

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

más de 4 años hace | 0

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

más de 4 años hace | 0

Pregunta


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

más de 4 años hace | 1 respuesta | 0

1

respuesta

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

más de 4 años hace | 0

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

más de 4 años hace | 1

| aceptada

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

más de 4 años hace | 1

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

más de 4 años hace | 0

| aceptada

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

más de 4 años hace | 0

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

más de 4 años hace | 0

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

más de 4 años hace | 1

| aceptada

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

más de 4 años hace | 0

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

más de 4 años hace | 1

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

más de 4 años hace | 1

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

más de 4 años hace | 1

| aceptada

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

más de 4 años hace | 1

| aceptada

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

más de 4 años hace | 0

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

más de 4 años hace | 0

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

más de 4 años hace | 0

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

más de 4 años hace | 0

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

más de 4 años hace | 1

| aceptada

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

más de 4 años hace | 1

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

más de 4 años hace | 2

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

más de 4 años hace | 0

| aceptada

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

más de 4 años hace | 1

| aceptada

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

más de 4 años hace | 0

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

más de 4 años hace | 0

| aceptada

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

más de 4 años hace | 0

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

más de 4 años hace | 0

| aceptada

Cargar más