回答済み
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...

4年以上 前 | 1

| 採用済み

回答済み
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 =...

4年以上 前 | 0

回答済み
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...

4年以上 前 | 1

| 採用済み

回答済み
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....

4年以上 前 | 0

回答済み
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 ...

4年以上 前 | 0

| 採用済み

回答済み
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 =...

4年以上 前 | 1

回答済み
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 ...

4年以上 前 | 0

回答済み
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...

4年以上 前 | 0

回答済み
audio processing with two audio files
Hope this Audio Toolbox link helps you to process the two audio files.

4年以上 前 | 0

回答済み
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 ...

4年以上 前 | 0

回答済み
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...

4年以上 前 | 0

| 採用済み

回答済み
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...

4年以上 前 | 0

| 採用済み

回答済み
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...

4年以上 前 | 0

回答済み
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. ...

4年以上 前 | 0

回答済み
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...

4年以上 前 | 0

| 採用済み

回答済み
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...

4年以上 前 | 0

| 採用済み

回答済み
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.

4年以上 前 | 0

回答済み
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...

4年以上 前 | 0

回答済み
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(...

4年以上 前 | 1

回答済み
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)...

4年以上 前 | 0

回答済み
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...

4年以上 前 | 0

回答済み
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...

4年以上 前 | 0

| 採用済み

回答済み
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...

4年以上 前 | 4

| 採用済み

回答済み
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; ...

4年以上 前 | 0

| 採用済み

回答済み
Tone generation using synthesis techniques.
Hope the book in this link helps to generate a tune based on synthesis techniques.

4年以上 前 | 0

回答済み
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...

4年以上 前 | 0

回答済み
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...

4年以上 前 | 1

| 採用済み

回答済み
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...

4年以上 前 | 0

回答済み
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 ...

4年以上 前 | 0

| 採用済み

回答済み
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...

4年以上 前 | 0

さらに読み込む