Answered

How to generate HDL code for fractional sample rate converter in simulink?

Hi Himadri, As we see from the upsample and downsample block documentation, they support HDL Code generation. Try Code gener...

How to generate HDL code for fractional sample rate converter in simulink?

Hi Himadri, As we see from the upsample and downsample block documentation, they support HDL Code generation. Try Code gener...

10 månader ago | 1

| accepted

Answered

ODE event: Is there a counter ?

Hi Siddhartha, You don’t have to pass the counter as an argument to the event function, you can define the count variable as a...

ODE event: Is there a counter ?

Hi Siddhartha, You don’t have to pass the counter as an argument to the event function, you can define the count variable as a...

10 månader ago | 0

Answered

How to use multiple cores for simulink

Hi Lucky I understand that you get an algebraic loop warning when trying to simulate your Simulink model in multiple cores. Th...

How to use multiple cores for simulink

Hi Lucky I understand that you get an algebraic loop warning when trying to simulate your Simulink model in multiple cores. Th...

10 månader ago | 0

| accepted

Answered

pauses in audio data

Hi Mengjia, You can use array concatenation to introduce pauses into an audio array. Assuming you need to have a 1s pause an...

pauses in audio data

Hi Mengjia, You can use array concatenation to introduce pauses into an audio array. Assuming you need to have a 1s pause an...

11 månader ago | 0

Answered

How do you open the full image instead of the thumbnail for a .SCN filetype?

Hi Elizabeth, Refer the answer thread to your previous question for details.

How do you open the full image instead of the thumbnail for a .SCN filetype?

Hi Elizabeth, Refer the answer thread to your previous question for details.

11 månader ago | 0

Answered

Exceeded path length when building simulink model on cluster

Hi Samuele, Yes, this is a Hard OS Limitation, and the only available options are to shorten the path or to build from a workin...

Exceeded path length when building simulink model on cluster

Hi Samuele, Yes, this is a Hard OS Limitation, and the only available options are to shorten the path or to build from a workin...

11 månader ago | 0

Answered

Simscape foundation gas library compressor and turbine

Hi Harish, You are not able to find the turbine and compressor blocks used in the example because they are Custom Components ...

Simscape foundation gas library compressor and turbine

Hi Harish, You are not able to find the turbine and compressor blocks used in the example because they are Custom Components ...

11 månader ago | 0

Answered

How to use 'SI Psychrometric Chart' File exchange library?

Hi Leo, SI Psychrometric Chart is one of the several submissions in MATLAB File Exchange on MATLAB Central which is a forum fo...

How to use 'SI Psychrometric Chart' File exchange library?

Hi Leo, SI Psychrometric Chart is one of the several submissions in MATLAB File Exchange on MATLAB Central which is a forum fo...

11 månader ago | 0

| accepted

Answered

MATLAB Parallel Server: Is there a way to speed up "Cleaning up parallel workers..."?

Hi Sascha, Try off-loading your simulations bas batch jobs, so that you can actively work on MATLAB Client while the simulatio...

MATLAB Parallel Server: Is there a way to speed up "Cleaning up parallel workers..."?

Hi Sascha, Try off-loading your simulations bas batch jobs, so that you can actively work on MATLAB Client while the simulatio...

11 månader ago | 0

Answered

Overlay a plot on an image

Hi Federica, Use the following code as an example to normalize your 2nd data based on the first and overlay it on the image. ...

Overlay a plot on an image

Hi Federica, Use the following code as an example to normalize your 2nd data based on the first and overlay it on the image. ...

11 månader ago | 0

| accepted

Answered

Plot cut line on a surface

Hi Vishal, You can use the plot3 function to add cut line to your plot. The following Is an example, replace the second figure...

Plot cut line on a surface

Hi Vishal, You can use the plot3 function to add cut line to your plot. The following Is an example, replace the second figure...

11 månader ago | 0

Answered

Subscripts and greek letters on a cell array

Hi Martina, You can refer the answer thread here to learn more about displaying Greek characters in the UITABLE/UICONTROL. R...

Subscripts and greek letters on a cell array

Hi Martina, You can refer the answer thread here to learn more about displaying Greek characters in the UITABLE/UICONTROL. R...

11 månader ago | 0

Answered

Font not embedded when exporting to EPS

Hi Daan, Current PostScript implementation supports only the fonts listed below, Courier Helvetica ZapfDingbats Times Ti...

Font not embedded when exporting to EPS

Hi Daan, Current PostScript implementation supports only the fonts listed below, Courier Helvetica ZapfDingbats Times Ti...

11 månader ago | 0

Answered

Design RF Signal Interference Cancellation Circuit

Hi Muhammad, Refer this page for various examples for RF Toolbox, which you might find it useful.

Design RF Signal Interference Cancellation Circuit

Hi Muhammad, Refer this page for various examples for RF Toolbox, which you might find it useful.

11 månader ago | 0

Answered

Uninstall app from MATLAB Online

Hi Stuart, Since you have already installed the app in MATLAB Online, you can use the following commands to uninstall it. ma...

Uninstall app from MATLAB Online

Hi Stuart, Since you have already installed the app in MATLAB Online, you can use the following commands to uninstall it. ma...

12 månader ago | 0

| accepted

Answered

Trying to 3d plot binary cubes

Hi Simon, Use the slice command and specify the slice position as vector argument. The following is an example, colorm...

Trying to 3d plot binary cubes

Hi Simon, Use the slice command and specify the slice position as vector argument. The following is an example, colorm...

12 månader ago | 0

| accepted

Answered

Algebraic loop debugging of Simulink delay block

Hi Tim, You are getting an algebraic loop error/warning because the enable input of the delay block is driven by the current o...

Algebraic loop debugging of Simulink delay block

Hi Tim, You are getting an algebraic loop error/warning because the enable input of the delay block is driven by the current o...

12 månader ago | 1

| accepted

Answered

Download file from Teams sharepoint site

Hi Lijun, Website with log-ins that use basic or digest HTTP authentication (i.e. no encryption) can be logged into via the 'we...

Download file from Teams sharepoint site

Hi Lijun, Website with log-ins that use basic or digest HTTP authentication (i.e. no encryption) can be logged into via the 'we...

12 månader ago | 0

Answered

Error in odearguments (line 90) f0 = feval(ode,t0,y0,args{:}); % ODE15I sets args{1} to yp0. Error in ode45 (line 115) odearguments(FcnHandlesUsed, solver_name, ode, tspan, y0, options, varargin); Error in pendulum_sim (line 30) [t,f] = ode

Hi Ai, The cause for this error is due to an incorrect call to the sine function at line 65. The argument passed to the sine...

Error in odearguments (line 90) f0 = feval(ode,t0,y0,args{:}); % ODE15I sets args{1} to yp0. Error in ode45 (line 115) odearguments(FcnHandlesUsed, solver_name, ode, tspan, y0, options, varargin); Error in pendulum_sim (line 30) [t,f] = ode

Hi Ai, The cause for this error is due to an incorrect call to the sine function at line 65. The argument passed to the sine...

12 månader ago | 0

Answered

Reading Serial Data from Arduino using Simulink

Hi Bashhar, Refer Use Serial Communications with Arduino Hardware documentation to learn more about Simulink Support packages ...

Reading Serial Data from Arduino using Simulink

Hi Bashhar, Refer Use Serial Communications with Arduino Hardware documentation to learn more about Simulink Support packages ...

12 månader ago | 0

Answered

I want to extract data from an excel file which contains the data from different images... I want to sort the data like the axial voidage sheet generated as shown in the sample file MATLAB and the other sheet radial voidage.

Hi Aashna, You can you the readtable function to read your data into MATLAB as a table, and you can use sortrows function to s...

I want to extract data from an excel file which contains the data from different images... I want to sort the data like the axial voidage sheet generated as shown in the sample file MATLAB and the other sheet radial voidage.

Hi Aashna, You can you the readtable function to read your data into MATLAB as a table, and you can use sortrows function to s...

12 månader ago | 0

Answered

Convert S-Parameters zu Z

Hi Seven , You are getting an error because you are passing a struct variable into the s2z() function. (Try to insert a breakp...

Convert S-Parameters zu Z

Hi Seven , You are getting an error because you are passing a struct variable into the s2z() function. (Try to insert a breakp...

12 månader ago | 0

| accepted

Answered

Need help with creating a half/full bridge rectifier output

Hi David, Refer to this answer thread for half-wave rectifier scripts and an example. https://in.mathworks.com/matlabcentral/...

Need help with creating a half/full bridge rectifier output

Hi David, Refer to this answer thread for half-wave rectifier scripts and an example. https://in.mathworks.com/matlabcentral/...

12 månader ago | 0

Answered

Re-import an exported Matlab app

Hi Soc, From MATLAB R2020b, you can use MATLAB comparison tool to diff and merge two mlapp files as documented in Compare and M...

Re-import an exported Matlab app

Hi Soc, From MATLAB R2020b, you can use MATLAB comparison tool to diff and merge two mlapp files as documented in Compare and M...

12 månader ago | 1

| accepted

Answered

Zero-crossings of Nyquist Diagram

Hi Leopold, I understand that you need to find the zero-crossings of the imaginary part of the Nyquist diagram. I assume that...

Zero-crossings of Nyquist Diagram

Hi Leopold, I understand that you need to find the zero-crossings of the imaginary part of the Nyquist diagram. I assume that...

12 månader ago | 0

| accepted

Answered

Simulink Simulation will not run simulation

Hi Bradley, This issue might arise when one of the port or a signal has a ‘NaN‘ or an ‘Inf’ as value. You can debug it using St...

Simulink Simulation will not run simulation

Hi Bradley, This issue might arise when one of the port or a signal has a ‘NaN‘ or an ‘Inf’ as value. You can debug it using St...

12 månader ago | 0

Answered

Regarding adding new axis to the array

Hi Aishwarya, In MATLAB, a 1-D vector is a Nx1 vector similarly, any MxN vector, by-itself is a MxNx1 vector. So the ‘cat’ ...

Regarding adding new axis to the array

Hi Aishwarya, In MATLAB, a 1-D vector is a Nx1 vector similarly, any MxN vector, by-itself is a MxNx1 vector. So the ‘cat’ ...

12 månader ago | 0

| accepted

Answered

Plot series or even a close approximation

Hi Anirudh, You can use the symbolic math toolbox – besselj function and Symbolic Summation to define you function and plot it...

Plot series or even a close approximation

Hi Anirudh, You can use the symbolic math toolbox – besselj function and Symbolic Summation to define you function and plot it...

12 månader ago | 0

Answered

How pwelch computes confidence intervals

Hi Stephen, Refer the pwelchfunction documentation for the details.

How pwelch computes confidence intervals

Hi Stephen, Refer the pwelchfunction documentation for the details.

12 månader ago | 0

Answered

Trendline Display and Linear regression

Hi Sandra, Refer to this answers below to enable trendline or fitting lines to a scatter plot from script or command-line. ...

Trendline Display and Linear regression

Hi Sandra, Refer to this answers below to enable trendline or fitting lines to a scatter plot from script or command-line. ...

12 månader ago | 0