Answered

how to convert a 3D surface into a 2D contour?

Note that it is clear from the colorbar scale (Figure 2 in your question) that there must be another operation before obtaining ...

how to convert a 3D surface into a 2D contour?

Note that it is clear from the colorbar scale (Figure 2 in your question) that there must be another operation before obtaining ...

3 months ago | 0

Answered

Error in resampling function

If you want to use fs = 5000 Hz, then the command syntax has to be resample(x_siganl, time, fs_new) This is how it should be don...

Error in resampling function

If you want to use fs = 5000 Hz, then the command syntax has to be resample(x_siganl, time, fs_new) This is how it should be don...

3 months ago | 0

| accepted

Answered

How to compute forces in global reference frame?

Presuming that you are also using some blocks from SimScape toolbox in the Simulink environment, here are some points to conside...

How to compute forces in global reference frame?

Presuming that you are also using some blocks from SimScape toolbox in the Simulink environment, here are some points to conside...

3 months ago | 0

Answered

How do I change the current directory in Simulink Onramp?

Even if you are working online, you can still go for "Save As" option (upper left corner) to select the directory where to save ...

How do I change the current directory in Simulink Onramp?

Even if you are working online, you can still go for "Save As" option (upper left corner) to select the directory where to save ...

3 months ago | 1

Answered

how to convert a 3D surface into a 2D contour?

This is how it can be done: H = openfig('ds2.fig'); % This is the extracted plot figure h = findobj(gca, 'Type', 'surfac...

how to convert a 3D surface into a 2D contour?

This is how it can be done: H = openfig('ds2.fig'); % This is the extracted plot figure h = findobj(gca, 'Type', 'surfac...

3 months ago | 0

Answered

Use of interp2 in an arbitrary dataset

Is this what you wanted to obtain: % Given DATA: Data = [ 0.25 0.25 0.5; 0.50 0.60 1.5; 0.75 0.75 3.0];...

Use of interp2 in an arbitrary dataset

Is this what you wanted to obtain: % Given DATA: Data = [ 0.25 0.25 0.5; 0.50 0.60 1.5; 0.75 0.75 3.0];...

3 months ago | 0

Answered

How to do bit-wise operations on symbolic variables that may be very long possibly larger than inter 64

Is this what you are trying to get: syms a b c n % Create symbols a = 12345; b = 9867; c = sym(0); n = 0; while a > ...

How to do bit-wise operations on symbolic variables that may be very long possibly larger than inter 64

Is this what you are trying to get: syms a b c n % Create symbols a = 12345; b = 9867; c = sym(0); n = 0; while a > ...

3 months ago | 1

Answered

Plotting negative errorbar on semilogx

It looks like this is how to display the missing half of error bar values. The solution with the x- axis limit set up: D = read...

Plotting negative errorbar on semilogx

It looks like this is how to display the missing half of error bar values. The solution with the x- axis limit set up: D = read...

3 months ago | 0

Answered

Plotting negative errorbar on semilogx

This is how the nagtive values can be displayed in the plot: D = readtable('file.xlsx'); IDX1 = log10(D.density)>0; semilogx(...

Plotting negative errorbar on semilogx

This is how the nagtive values can be displayed in the plot: D = readtable('file.xlsx'); IDX1 = log10(D.density)>0; semilogx(...

3 months ago | 0

Answered

Invalid hardware message in Simulink

The error does not mean that the Simulink Instrument Control toolbox has an error. Your installed version of the toolbox may not...

Invalid hardware message in Simulink

The error does not mean that the Simulink Instrument Control toolbox has an error. Your installed version of the toolbox may not...

3 months ago | 0

Answered

Use regexp to find all letters in string except one

This how it can be done: inputText = 'abcd1 23 ,.@_'; EXPR = '[a-cA-Ce-zA-Z]'; result = regexp(inputText, EXPR, 'match'); di...

Use regexp to find all letters in string except one

This how it can be done: inputText = 'abcd1 23 ,.@_'; EXPR = '[a-cA-Ce-zA-Z]'; result = regexp(inputText, EXPR, 'match'); di...

3 months ago | 0

Answered

Cannot open the Distance protection example?

1st of all, make sure the spelling of the model name. 2nd, this is where you can see all available Simulink example models in S...

Cannot open the Distance protection example?

1st of all, make sure the spelling of the model name. 2nd, this is where you can see all available Simulink example models in S...

3 months ago | 0

Answered

How can I record the sound produced after the LPC Algorithm?

If understood correctly, you are trying to record the filtered sounds. If so, audiowrite() can solve the task (to export the fil...

How can I record the sound produced after the LPC Algorithm?

If understood correctly, you are trying to record the filtered sounds. If so, audiowrite() can solve the task (to export the fil...

3 months ago | 0

Answered

Linking markers in sequence of evaluated eigenvalue

Axis limits can be also adjust a bit more to get better display of the results, e.g.: a = -2.6152 + 5.0781i; b = -2....

Linking markers in sequence of evaluated eigenvalue

Axis limits can be also adjust a bit more to get better display of the results, e.g.: a = -2.6152 + 5.0781i; b = -2....

3 months ago | 0

Answered

Linking markers in sequence of evaluated eigenvalue

a = -2.6152 + 5.0781i; b = -2.6195 + 5.0785i; c = -2.6237 + 5.0789i; d = -2.6280 + 5.0792i; ...

Linking markers in sequence of evaluated eigenvalue

a = -2.6152 + 5.0781i; b = -2.6195 + 5.0785i; c = -2.6237 + 5.0789i; d = -2.6280 + 5.0792i; ...

3 months ago | 0

Answered

cufflinks command not found

Do you have bioinformatics toolbox? This function is part of the toolbox - Bioinformatics Toolbox Software Support Packages ...

cufflinks command not found

Do you have bioinformatics toolbox? This function is part of the toolbox - Bioinformatics Toolbox Software Support Packages ...

3 months ago | 0

Answered

Use output of a loop as its input to a filter

This is the code: close all fs = 16e3; numFilts = 32; filter_number = 10; %range = [50 8000]; CF1=linspace(50, 8000, numFi...

Use output of a loop as its input to a filter

This is the code: close all fs = 16e3; numFilts = 32; filter_number = 10; %range = [50 8000]; CF1=linspace(50, 8000, numFi...

3 months ago | 0

| accepted

Answered

Use output of a loop as its input to a filter

If understood your question correctly, this is what you are trying to simulate, e.g.: close all fs = 16e3; numFilts = 32; fi...

Use output of a loop as its input to a filter

If understood your question correctly, this is what you are trying to simulate, e.g.: close all fs = 16e3; numFilts = 32; fi...

3 months ago | 1

Answered

Obtain a Student License from a University

Hi Colleague, You had better contact Mathworks sales representative to get a solid answer to your questions. Here is one link...

Obtain a Student License from a University

Hi Colleague, You had better contact Mathworks sales representative to get a solid answer to your questions. Here is one link...

3 months ago | 0

Answered

Some slowness in Simulink with Matlab R2023b

There might be a few different issues with a slow response. To resolve them, these steps might be be helpful or resolve the issu...

Some slowness in Simulink with Matlab R2023b

There might be a few different issues with a slow response. To resolve them, these steps might be be helpful or resolve the issu...

3 months ago | 0

Answered

FFT resolution and RelaTol and AbsTol

There are several critical points to consider here: Numerical Noise. Higher tolerances of the ODE solvers may take larger steps...

FFT resolution and RelaTol and AbsTol

There are several critical points to consider here: Numerical Noise. Higher tolerances of the ODE solvers may take larger steps...

3 months ago | 0

| accepted

Answered

I want the equation of a graph data.

Here is the answer code that I posted for your prevous post that works in the same way: D = load('Patel_Data.txt'); [x, IDX] =...

I want the equation of a graph data.

Here is the answer code that I posted for your prevous post that works in the same way: D = load('Patel_Data.txt'); [x, IDX] =...

3 months ago | 0

Answered

How can i get exact data from a figure?

Here is the fit model computed using your data: D = [0 0 93.07876 0.224404 186.1575 ...

How can i get exact data from a figure?

Here is the fit model computed using your data: D = [0 0 93.07876 0.224404 186.1575 ...

3 months ago | 0

Answered

Warning: Negative data ignored

Note that log() of a negative number can't be plotted that is correct. If you want to show their abs values in different color, ...

Warning: Negative data ignored

Note that log() of a negative number can't be plotted that is correct. If you want to show their abs values in different color, ...

3 months ago | 0

Answered

How can i get exact data from a figure?

Obtain data from the existign MATLAB figure, e.g.: open('Exercise_1.fig') xd = get(get(gca,'children'),'xdata'); % Obtain xda...

How can i get exact data from a figure?

Obtain data from the existign MATLAB figure, e.g.: open('Exercise_1.fig') xd = get(get(gca,'children'),'xdata'); % Obtain xda...

3 months ago | 0

Answered

creating nodes on an axis normal to a plane

Is this what you are looking for: center = [-24.3053980118084 -192.105601596377 -203.317238506250]; N = [-23.657031035515...

creating nodes on an axis normal to a plane

Is this what you are looking for: center = [-24.3053980118084 -192.105601596377 -203.317238506250]; N = [-23.657031035515...

3 months ago | 0

Answered

what training and tools do I need to display RF Propagation coverage on a map

These are the points to consider. To display the RF proposation coverage from an antenna on a 3D map using the Mapping Toolbox t...

what training and tools do I need to display RF Propagation coverage on a map

These are the points to consider. To display the RF proposation coverage from an antenna on a 3D map using the Mapping Toolbox t...

3 months ago | 0

Answered

Exporting Simulink Scope Results to Excel

Did you remove the tick mark from Limit data points to last: 5000

Exporting Simulink Scope Results to Excel

Did you remove the tick mark from Limit data points to last: 5000

3 months ago | 1

| accepted

Answered

How to save row vector or cell array in a Table?

Here is a couple of ways to convert row vector into a table and cell array, e.g.: numRows = 200; numVars = 2; rowvector = ran...

How to save row vector or cell array in a Table?

Here is a couple of ways to convert row vector into a table and cell array, e.g.: numRows = 200; numVars = 2; rowvector = ran...

3 months ago | 0

Answered

Best way to calculate color difference score

Here are a few points to consider: Your approach of converting the RGB values to the LAB colorspace and computing the deltaE be...

Best way to calculate color difference score

Here are a few points to consider: Your approach of converting the RGB values to the LAB colorspace and computing the deltaE be...

3 months ago | 0