Answered

Resources for OOP in Matlab.

Hi, You may refer the following MATLAB document links to have a good understanding on developing classes in MATLAB: Simple e...

Resources for OOP in Matlab.

Hi, You may refer the following MATLAB document links to have a good understanding on developing classes in MATLAB: Simple e...

10 months ago | 0

| accepted

Answered

The wait bar does not close and prevents matlab from closing

Hi, Generally, this type of behaviour occurs when you have “Cancel button” added to your "waitbar" and trying to remove the w...

The wait bar does not close and prevents matlab from closing

Hi, Generally, this type of behaviour occurs when you have “Cancel button” added to your "waitbar" and trying to remove the w...

10 months ago | 0

Answered

Interactively editing plots with matlab 2020

Hi, You can refer the Release notes of “Graphics” here . Release Notes helps you to know the updates of each release includi...

Interactively editing plots with matlab 2020

Hi, You can refer the Release notes of “Graphics” here . Release Notes helps you to know the updates of each release includi...

10 months ago | 0

Answered

objective function and max ,min

Hi, If you want to find maximum, minimum and mean values of an array, you can use the MATLAB functions “max”, “min”, “mean” re...

objective function and max ,min

Hi, If you want to find maximum, minimum and mean values of an array, you can use the MATLAB functions “max”, “min”, “mean” re...

10 months ago | 0

Answered

how to build Extended kalman filter using s-function or matlab function

Hi, There is an existing MATLAB function “extendedKalmanFilter” and also SIMULINK block “Extended Klaman Filter” which provid...

how to build Extended kalman filter using s-function or matlab function

Hi, There is an existing MATLAB function “extendedKalmanFilter” and also SIMULINK block “Extended Klaman Filter” which provid...

10 months ago | 0

Answered

How can I copy a figure containing into a powerpoint slide created with activex?

Hi, As per my understanding you are trying to copy figure to clipboard and paste in PowerPoint slide. Here is a sample code to...

How can I copy a figure containing into a powerpoint slide created with activex?

Hi, As per my understanding you are trying to copy figure to clipboard and paste in PowerPoint slide. Here is a sample code to...

10 months ago | 0

| accepted

Answered

In which package can I find the ranova function?

Hi, The function “ranova” is a method of class “RepeatedMeasuresModel” which is in “Statistics and Machine Learning Toolbox” ...

In which package can I find the ranova function?

Hi, The function “ranova” is a method of class “RepeatedMeasuresModel” which is in “Statistics and Machine Learning Toolbox” ...

10 months ago | 0

| accepted

Answered

Point Cloud Segmentation by Distance

The following documentation link might help you : https://www.mathworks.com/help/vision/ref/pointcloud.findnearestneighbors.htm...

Point Cloud Segmentation by Distance

The following documentation link might help you : https://www.mathworks.com/help/vision/ref/pointcloud.findnearestneighbors.htm...

10 months ago | 0

Answered

why isnt the function tf working

Hi, If you have the licensed product “Control Systems Toolbox”, but have not installed yet, you can do as follows: Go to M...

why isnt the function tf working

Hi, If you have the licensed product “Control Systems Toolbox”, but have not installed yet, you can do as follows: Go to M...

11 months ago | 0

Answered

How to find the period of two overlapping series of pulses ?

Hi, As per my understanding you are trying to find at what different increments(least possible) the sequence is generated. You...

How to find the period of two overlapping series of pulses ?

Hi, As per my understanding you are trying to find at what different increments(least possible) the sequence is generated. You...

11 months ago | 0

Answered

Version for your Kalman filtering examples

Hi, The example "Nonlinear State Estimation Using Unscented Kalman Filter" is available in MATLAB R2016b . To run the exampl...

Version for your Kalman filtering examples

Hi, The example "Nonlinear State Estimation Using Unscented Kalman Filter" is available in MATLAB R2016b . To run the exampl...

11 months ago | 0

Answered

Index exceeds the number of array elements (0). Error in TPA (line 32) time_orig = time_orig - time_orig(1);can any one solve this

This Error occurs when the data entered in the ranges is not numeric. In your code, data in the “timerange” is not numeric. In...

Index exceeds the number of array elements (0). Error in TPA (line 32) time_orig = time_orig - time_orig(1);can any one solve this

This Error occurs when the data entered in the ranges is not numeric. In your code, data in the “timerange” is not numeric. In...

11 months ago | 0

Answered

Steepest Ascent Method to Find Minimum - Error with syms to logical

This error occurs when comparing a numeric value and a symbolic value. In order to compare these two values, you can convert sym...

Steepest Ascent Method to Find Minimum - Error with syms to logical

This error occurs when comparing a numeric value and a symbolic value. In order to compare these two values, you can convert sym...

11 months ago | 0

| accepted

Answered

Using the findchangepts function on data containing NaN datapoints

You may remove NaN values from your "data" and then call “findchangepts” function with this "data". You can remove NaN values fr...

Using the findchangepts function on data containing NaN datapoints

You may remove NaN values from your "data" and then call “findchangepts” function with this "data". You can remove NaN values fr...

11 months ago | 0

Answered

Generating 0 and 1 from Poisson Distribution

You may generate 0,1 from Poisson Distribution using “poissrnd” function as follows: M = 10; poissrnd(0.25,1,M) Refer the ...

Generating 0 and 1 from Poisson Distribution

You may generate 0,1 from Poisson Distribution using “poissrnd” function as follows: M = 10; poissrnd(0.25,1,M) Refer the ...

11 months ago | 1

| accepted

Answered

How can i get corresponding value in a table?

Hi, As per my understanding, you are trying to find the corresponding “time” value of a maximum value in the timetable. You ca...

How can i get corresponding value in a table?

Hi, As per my understanding, you are trying to find the corresponding “time” value of a maximum value in the timetable. You ca...

11 months ago | 0

Answered

Fmincon problem with nonlcon

Hi, This error occurs if the objective function "funfcn" returns an invalid value such as Inf or NaN or complex number etc., wh...

Fmincon problem with nonlcon

Hi, This error occurs if the objective function "funfcn" returns an invalid value such as Inf or NaN or complex number etc., wh...

11 months ago | 0

Answered

Pick a value from a matrix to produce another value in a matrix, and loop it

Hi, You can generalize it by using arrays and loops as follows: H = [1 2 3 5; 4 5 6 5; 7 8 9 5]; % let a = 1; % Changin...

Pick a value from a matrix to produce another value in a matrix, and loop it

Hi, You can generalize it by using arrays and loops as follows: H = [1 2 3 5; 4 5 6 5; 7 8 9 5]; % let a = 1; % Changin...

11 months ago | 0

Answered

fdesign.octave - Extend to frequencies below 20 Hz

Center frequencies must be greater than 20 Hz and less than 20,000 Hz. If the center frequency specified is not valid, it will b...

fdesign.octave - Extend to frequencies below 20 Hz

Center frequencies must be greater than 20 Hz and less than 20,000 Hz. If the center frequency specified is not valid, it will b...

11 months ago | 0

Answered

Power to Gas simulink modeling

The following documentation link might help: GasSystems

Power to Gas simulink modeling

The following documentation link might help: GasSystems

11 months ago | 0

Answered

How can I get the ordinal value of the most recent subplot that a user clicked (now that gca has been updated to return an object not a double)?

Hi, According to my understanding you want to obtain the ordinal values of current axes in a plot. You can do that by referrin...

How can I get the ordinal value of the most recent subplot that a user clicked (now that gca has been updated to return an object not a double)?

Hi, According to my understanding you want to obtain the ordinal values of current axes in a plot. You can do that by referrin...

11 months ago | 0

Answered

Transmitting and receiveing "payload" data in WLAN example.

Hi, As per my understanding you want to edit the “data” generated in “Entity Generator” block. You can do this by going to “En...

Transmitting and receiveing "payload" data in WLAN example.

Hi, As per my understanding you want to edit the “data” generated in “Entity Generator” block. You can do this by going to “En...

12 months ago | 0

Answered

Downloading Matlab2014b

Following MATLAB Answer might help you: https://www.mathworks.com/matlabcentral/answers/99265-how-do-i-download-an-older-relea...

Downloading Matlab2014b

Following MATLAB Answer might help you: https://www.mathworks.com/matlabcentral/answers/99265-how-do-i-download-an-older-relea...

12 months ago | 0

Answered

How to change default title font in tiled layout

Hi, The issue when changing default "Interpreter" for "tiledlayout" has been brought to the notice of our developers. They wil...

How to change default title font in tiled layout

Hi, The issue when changing default "Interpreter" for "tiledlayout" has been brought to the notice of our developers. They wil...

12 months ago | 1

| accepted

Answered

Unable to find optimisation toolbox for MPC

Hi, If you have the licensed product “Optimization Toolbox”, but have not installed yet, you can do as follows: Go to MA...

Unable to find optimisation toolbox for MPC

Hi, If you have the licensed product “Optimization Toolbox”, but have not installed yet, you can do as follows: Go to MA...

12 months ago | 0

| accepted

Answered

Error in a code which computes sqrt(a)

You may need to initialize the variables "sqaprev", "sqa" as follows: function [sqa, nitr] = mySqrt (a) sqaprev = 0; sqa=...

Error in a code which computes sqrt(a)

You may need to initialize the variables "sqaprev", "sqa" as follows: function [sqa, nitr] = mySqrt (a) sqaprev = 0; sqa=...

12 months ago | 0

Answered

Save figure with black background and window

Hi, According to my understanding you have MATLAB figure and want to change the background color of the figure and save(preser...

Save figure with black background and window

Hi, According to my understanding you have MATLAB figure and want to change the background color of the figure and save(preser...

12 months ago | 0

| accepted

Answered

can somebody help me to understand this cross correlation output?

Hi, In General, Cross correlation defines the similarity of signals (or vectors) as a function of a time-lag applied to one of...

can somebody help me to understand this cross correlation output?

Hi, In General, Cross correlation defines the similarity of signals (or vectors) as a function of a time-lag applied to one of...

12 months ago | 0

| accepted

Answered

Trying to solve for P in the equation. Been told fzero does not give correct solution.

Hi, I think you need to specify the variables as “sym” to use “solve”. You may also solve for “P” using “fsolve” function. H...

Trying to solve for P in the equation. Been told fzero does not give correct solution.

Hi, I think you need to specify the variables as “sym” to use “solve”. You may also solve for “P” using “fsolve” function. H...

12 months ago | 0

Answered

Problem with multivariable plots

Hi, According to my understanding you are trying to plot each output “Gamma” and “Theta_z” by changing 2 inputs “tid” and “n”...

Problem with multivariable plots

Hi, According to my understanding you are trying to plot each output “Gamma” and “Theta_z” by changing 2 inputs “tid” and “n”...

1 year ago | 0

| accepted