Answered

Plotting multiple Box plots on a single figure for multiple conditions

This can be achieved using the hold on command along with the polyshape function in MATLAB. Suppose the vertices for task 1 are ...

Plotting multiple Box plots on a single figure for multiple conditions

This can be achieved using the hold on command along with the polyshape function in MATLAB. Suppose the vertices for task 1 are ...

meer dan een jaar ago | 0

Answered

exporting data from bulk analysis (function/script in a loop)

If the format of the data to be exported is a table then writetable can be used. For guidance on how to use the function, refer ...

exporting data from bulk analysis (function/script in a loop)

If the format of the data to be exported is a table then writetable can be used. For guidance on how to use the function, refer ...

meer dan een jaar ago | 0

Answered

How do I graph and calculate the volume between two surfaces?

The issue is to locate the boundary. Once you have it, it's easy: here is an example continuing your code assuming that the boun...

How do I graph and calculate the volume between two surfaces?

The issue is to locate the boundary. Once you have it, it's easy: here is an example continuing your code assuming that the boun...

meer dan een jaar ago | 0

Answered

Three implicit terms in function

The Symbolic toolbox can be used to solve for such questions. Refer to the following documentation of Symbolic toolbox, it might...

Three implicit terms in function

The Symbolic toolbox can be used to solve for such questions. Refer to the following documentation of Symbolic toolbox, it might...

meer dan een jaar ago | 0

Answered

How to choose the right model for Non-linear regression?

The Curve fitting toolbox can be used for this purpose. The documentation for the toolbox can be accessed by clicking here. Alt...

How to choose the right model for Non-linear regression?

The Curve fitting toolbox can be used for this purpose. The documentation for the toolbox can be accessed by clicking here. Alt...

meer dan een jaar ago | 0

Answered

MATLAB support for additional graph distance metrics/norms?

There is no specific function in MATLAB to incorporate various distance metrics while calculating shortest paths between two no...

MATLAB support for additional graph distance metrics/norms?

There is no specific function in MATLAB to incorporate various distance metrics while calculating shortest paths between two no...

meer dan een jaar ago | 0

| accepted

Answered

Confidence intervals for the coherence and phase calculated by CPSD

There is no argument specifically for Confidence level in CSPD. Instead confidence level can be calculated with the help of perc...

Confidence intervals for the coherence and phase calculated by CPSD

There is no argument specifically for Confidence level in CSPD. Instead confidence level can be calculated with the help of perc...

meer dan een jaar ago | 0

Answered

Audiorecorder not able to take input.

In order to communicate with the audio hardware on a given computer, Simulink uses the open source PortAudio library. The PortAu...

Audiorecorder not able to take input.

In order to communicate with the audio hardware on a given computer, Simulink uses the open source PortAudio library. The PortAu...

bijna 2 jaar ago | 0

Answered

What are the network requirements for Online Licensing?

Contact your sales representative to get detailed understanding about your license terms. If you don't know who your sales repre...

What are the network requirements for Online Licensing?

Contact your sales representative to get detailed understanding about your license terms. If you don't know who your sales repre...

bijna 2 jaar ago | 0

Answered

How do I change the size of subplots in stackedplot

MATLAB has hold on feature which allows to plot multiple graphs on the same figure. Refer to the following link to know more abo...

How do I change the size of subplots in stackedplot

MATLAB has hold on feature which allows to plot multiple graphs on the same figure. Refer to the following link to know more abo...

bijna 2 jaar ago | 0

Answered

double forloop and plotting

The problem is here that you are overwriting values when you use [t,x] = ode45(dxdt, tspan, x1); As this line is outside of...

double forloop and plotting

The problem is here that you are overwriting values when you use [t,x] = ode45(dxdt, tspan, x1); As this line is outside of...

bijna 2 jaar ago | 0

| accepted

Answered

Simple question about symbolic limits

The limit specified is also dependent on c if c does not have small values. For small values of c, a simplified expression is yi...

Simple question about symbolic limits

The limit specified is also dependent on c if c does not have small values. For small values of c, a simplified expression is yi...

bijna 2 jaar ago | 0

Answered

How to import a neural network from Matlab into fortran

There is no inherent functionality in the MATLAB for this but a quick google search yielded results for FORTRAN converters on Gi...

How to import a neural network from Matlab into fortran

There is no inherent functionality in the MATLAB for this but a quick google search yielded results for FORTRAN converters on Gi...

bijna 2 jaar ago | 0

Answered

Error while simulating a model containing PV array

Refer to the following link for the various steps that can be followed in order to resolve algebraic loops in Simulink model: ...

Error while simulating a model containing PV array

Refer to the following link for the various steps that can be followed in order to resolve algebraic loops in Simulink model: ...

bijna 2 jaar ago | 1

Answered

Heat Dissipation from an Annular Fin

This equation can be simplified by fixing the known values and the relation between Re and Rb, Refer to the code below: x = [0...

Heat Dissipation from an Annular Fin

This equation can be simplified by fixing the known values and the relation between Re and Rb, Refer to the code below: x = [0...

bijna 2 jaar ago | 0

Answered

find peaks in power spectral density

Try following this approach, it returns the out array with frequency count of each peak: [pks,locs] = findpeaks(y1); un = ...

find peaks in power spectral density

Try following this approach, it returns the out array with frequency count of each peak: [pks,locs] = findpeaks(y1); un = ...

bijna 2 jaar ago | 0

Answered

Is there a way to run CCSv6 code as a Simulink block?

The s-functions can be leveraged for this. Refer to the following documentation of s-function, it might help https://www.ma...

Is there a way to run CCSv6 code as a Simulink block?

The s-functions can be leveraged for this. Refer to the following documentation of s-function, it might help https://www.ma...

bijna 2 jaar ago | 0

Answered

Plotting chemical 2d reaction in different colors

This problem can be tackled using the following approach. Suppose contour1.jpg is the first contour and cntour2.jpg is the secon...

Plotting chemical 2d reaction in different colors

This problem can be tackled using the following approach. Suppose contour1.jpg is the first contour and cntour2.jpg is the secon...

bijna 2 jaar ago | 0

Answered

Interplolation of two different data set in a same grid interface

The hold on piece of code can be used for the interpolation of two different datasets in a same grid interface, for example: S...

Interplolation of two different data set in a same grid interface

The hold on piece of code can be used for the interpolation of two different datasets in a same grid interface, for example: S...

bijna 2 jaar ago | 0

Answered

How to edit C++ code of a Simulink block?

There is no need to edit the code of the Simulink block. The ODE Solver can be changed in the Simulink model by going to the Con...

How to edit C++ code of a Simulink block?

There is no need to edit the code of the Simulink block. The ODE Solver can be changed in the Simulink model by going to the Con...

bijna 2 jaar ago | 0

Answered

Moving window with two conditions - Matlab

Try following this approach, it returns the regions in the moving window in between the defined thresholds: % Define sample da...

Moving window with two conditions - Matlab

Try following this approach, it returns the regions in the moving window in between the defined thresholds: % Define sample da...

bijna 2 jaar ago | 0

Answered

1D diffusion equation with different dx and dt

The table function gives error because the u matrix is not created properly and in line u(j)=u(j)+dudt(j)*dt;%eulers method t...

1D diffusion equation with different dx and dt

The table function gives error because the u matrix is not created properly and in line u(j)=u(j)+dudt(j)*dt;%eulers method t...

bijna 2 jaar ago | 0

Answered

Forward difference and central difference help - expected rates of convergence

Try using with this code for section 2 x=[-10:0.01:20]; dt = 0.00001; values_y = [-10:0.01:20]; y1 = [-10:0.01:20]; va...

Forward difference and central difference help - expected rates of convergence

Try using with this code for section 2 x=[-10:0.01:20]; dt = 0.00001; values_y = [-10:0.01:20]; y1 = [-10:0.01:20]; va...

bijna 2 jaar ago | 0

Answered

Resample the output file of a simulation

The following procedure might help you, where X is the second column of the matrix which needs to be binned: bins = [start_pos...

Resample the output file of a simulation

The following procedure might help you, where X is the second column of the matrix which needs to be binned: bins = [start_pos...

bijna 2 jaar ago | 0

Answered

Use point data to plot a signal to use in Simulink

The following procedure might help you: In the MATLAB command prompt run your script and then open Simulink. Create a blank...

Use point data to plot a signal to use in Simulink

The following procedure might help you: In the MATLAB command prompt run your script and then open Simulink. Create a blank...

bijna 2 jaar ago | 0

Answered

using c++ in mATLAB

Try using with this code for section 2 g = 9.81; r = 0.7; theta = (0:0.04:pi); speed = sqrt(g/r); speeds = [0,0,0,0...

using c++ in mATLAB

Try using with this code for section 2 g = 9.81; r = 0.7; theta = (0:0.04:pi); speed = sqrt(g/r); speeds = [0,0,0,0...

bijna 2 jaar ago | 0

Answered

Is there a way for me to access the files I saved on MATLAB online after my trial has expired?

The files can be accessed by going to drive.matlab.com and the files can be downloaded on the local machine. The m-files can be...

Is there a way for me to access the files I saved on MATLAB online after my trial has expired?

The files can be accessed by going to drive.matlab.com and the files can be downloaded on the local machine. The m-files can be...

ongeveer 2 jaar ago | 4

Answered

Plotting truncated FS expansion

The following code is implemented with the assumption of C and L to be 1 as they are constants and it works fine and plots the g...

Plotting truncated FS expansion

The following code is implemented with the assumption of C and L to be 1 as they are constants and it works fine and plots the g...

ongeveer 2 jaar ago | 0

Answered

Remove point from voronoiDiagram

I have brought this issue to the notice of our developers. They will investigate the matter further.

Remove point from voronoiDiagram

I have brought this issue to the notice of our developers. They will investigate the matter further.

ongeveer 2 jaar ago | 0

| accepted