Respondida
freqresp gives wrong output for purely real inputs
Hi Will, I have brought the issue of 'freqresp accepting frequency input with non-zero imaginary part' to the notice of our dev...

más de 4 años hace | 1

| aceptada

Respondida
Trouble with integration of double integer
In the given code, as x(k+1))*cos(2*pi*k*t) is a constant value, integration of this constant can be done as shown below. fun =...

más de 4 años hace | 0

Respondida
Create marks and names for 6 other subjects inside the same structure. Then write code that determines which subject has the highest mark. Once found, print the name of the subject with the highest mark to the command window.
Use the below code to find the subject with the highest mark and print the subject name. len = length(student.subjects); for i...

más de 4 años hace | 1

| aceptada

Respondida
Remove point at the edge
Hi Fateh In the above figure, find the equation of the bottom line (long width) of the rectangle highlighted in the red colour....

más de 4 años hace | 0

Respondida
How should I resolve the warning "Warning: Reached the maximum number of function evaluations (100000). The result fails the global error test."?
Hi Yaswanth It looks like the warning occurs even when the maximum number of function evaluations are 2000. I recommend you to ...

más de 4 años hace | 0

| aceptada

Respondida
Changes in font, font size and fontweight (bold) within a tabe
Hi, Please find the below code to change the font, font size and font weight of a table. import mlreportgen.dom.*; myReport =...

más de 4 años hace | 1

Respondida
Calculate values for a variable of an implicit function
Hi Plato To calculate the values for a variable of an implicit function, use the below code. f=0.2; r=0.41; a=0.08; syms y ...

más de 4 años hace | 0

Respondida
Dear all,how can fix this problem in the picture(Matlab R2019b) ?
Hi Here is the link to install Robust Control Toolbox into an existing installation of MATLAB. https://ww2.mathworks.cn/matlab...

más de 4 años hace | 0

Respondida
audio processing with two audio files
Hope this Audio Toolbox link helps you to process the two audio files.

más de 4 años hace | 0

Respondida
Write a function used to list primes
Hi Ruihan Shift the line 'primeList(1)=0;' from the while loop to above the while loop to print the correct prime numbers when ...

más de 4 años hace | 0

Respondida
How can I specify different colors for different groups of data in correlation heatmap?
Hi Rosalba, Here is the way to map the boxes with range -0.7<R<0.7 to the same colour. load patients tbl = table(LastName,Age...

más de 4 años hace | 0

| aceptada

Respondida
A very simple integration method
The error is due to calling the function sinteg without passing any input arguments. Call the function sinteg as shown below. P...

más de 4 años hace | 0

| aceptada

Respondida
Why do we need Monte Carlo simulation in digital communication to evaluate BER OF 16 QAM?
In normal bit error rate calculation, closed form expressions are used. In monte carlo simulation, simulations contained in MATL...

más de 4 años hace | 0

Respondida
Generate values with constrains
To select a random value from A and to obtain different consecutive A's for every schedule can be done using randperm as well. ...

más de 4 años hace | 0

Respondida
sir, i am not able develop a matlab code to solve four transcendental equations using newton raphson method? i had tried till the creation of jacobian matrix but not able to substitute values in the jacobian matrix please help to solve this problem?
In the given code, the values are not substituted in the jacobian matrix because the initial values are assigned to the variable...

más de 4 años hace | 0

| aceptada

Respondida
How do you save one or all the images from an array as .png files in a folder.
Hi To save the images from an array as .png files in a folder, please see the below code. a = [zeros(9,4); ones(9,4);]; numI...

más de 4 años hace | 0

| aceptada

Respondida
Error using BVP4c (singular Jacobian encountered)
Hi I hope this link might help you to solve the error (Singular Jacobian encountered) when using bvp4c function in MATLAB.

más de 4 años hace | 0

Respondida
What is the command in matlab simulink for change the number of generation without open window optimtool ?
Hi The command to change the number of generations without opening optimtool window is as follows. options = optimoptions('ga...

más de 4 años hace | 0

Respondida
How to graph a moving plot while keeping another one static
The graph overwriting can be avoided by updating the property 'XData' of the 'plot' function as follows. pp = plot(x(1:1+numel(...

más de 4 años hace | 1

Respondida
Plotting an equation with summation and roots of bessel function
The roots of the bessel function (first kind, zero order) can be obtained from the below code. Z = 0:0.1:20; J0 = besselj(0,Z)...

más de 4 años hace | 0

Respondida
matlab 'Index exceeds array boundaries'
In the given code, the initial conditions are passed to 'ode45' from the variable 'X0' which is a vector. The 'X0' values are ta...

más de 4 años hace | 0

Respondida
out of memory when using hilbert transform
Hi Yuechen, The maximum size limit of the input data to the 'hilbert' function is the maximum array size limit allowed by MATLA...

más de 4 años hace | 0

| aceptada

Respondida
Plot points on a tetrahedron
Hi Sunayana, To plot a tetrahedron with the four vertices, use the below code. FV.Vertices = [1/2 1/sqrt(2) 0; -1/2 0 1/sqrt(2...

más de 4 años hace | 4

| aceptada

Respondida
Power spectral density unit conversion
To convert the Noise Power Spectral Density of the accelerometer as an acceleration unit, see the code below. psd = 300*1e-6; ...

más de 4 años hace | 0

| aceptada

Respondida
Tone generation using synthesis techniques.
Hope the book in this link helps to generate a tune based on synthesis techniques.

más de 4 años hace | 0

Respondida
Error using symengine in numerical solver
Hi David, The above issue is replicated by assuming that ‘V’ is also a NX1 vector. The issue can be solved by using ‘./’ instea...

más de 4 años hace | 0

Respondida
How to Convetr MATLAB files to CAD files(STEP/IGES)
To convert MATLAB files to CAD files in IGES format, here is the File Exchange link on MATLAB Central which is a forum for our p...

más de 4 años hace | 1

| aceptada

Respondida
Revolving a 2D profile around any axis
The rotate function allows you to rotate a curve around any axis. To rotate the curve along y-axis, use the below code. h = sur...

más de 4 años hace | 0

Respondida
For a problem of Amplitude Modulation, if I want to perform it on Simulink but get the various parameters like carrier freq. etc. from a companion m file, how do I do it ??
There are two ways to access variables from a .m file to Simulink. Before running the Simulink model, run the .m file to save ...

más de 4 años hace | 0

| aceptada

Respondida
how to make drawnow for this figure
To animate the red line shown in the attached figure, use the below code. Here, pause is used instead of draw to notice that the...

más de 4 años hace | 0

Cargar más