Answered

uihtml doesn't play .MP4 Video

Hi, Built-in MATLAB browser does not support playing .mp4 videos. I have brought this issue to the concerned people and it migh...

uihtml doesn't play .MP4 Video

Hi, Built-in MATLAB browser does not support playing .mp4 videos. I have brought this issue to the concerned people and it migh...

11 mois ago | 0

Answered

create a video or gif using .PNG file

Hi, Refer to this answer answered by community - https://www.mathworks.com/matlabcentral/answers/153925-how-to-make-a-video-fro...

create a video or gif using .PNG file

Hi, Refer to this answer answered by community - https://www.mathworks.com/matlabcentral/answers/153925-how-to-make-a-video-fro...

11 mois ago | 0

| accepted

Answered

How to compare number in Edit Field to number in Ui Table, then checking box?

Hi, In this line of code in the updated code UITABLE4DATA(rowindex,1) = {1} ; It replaces the content of cell with value '1'...

How to compare number in Edit Field to number in Ui Table, then checking box?

Hi, In this line of code in the updated code UITABLE4DATA(rowindex,1) = {1} ; It replaces the content of cell with value '1'...

11 mois ago | 0

Answered

How to plot manipulability index of a 5dof robotic arm?

Hi, In this line of code, [X,Y]=meshgrid(px,py); >> X = cos(th1)*(102*cos(th2 + th3 + th4) + 25*cos(th2 + th3) + 20*cos...

How to plot manipulability index of a 5dof robotic arm?

Hi, In this line of code, [X,Y]=meshgrid(px,py); >> X = cos(th1)*(102*cos(th2 + th3 + th4) + 25*cos(th2 + th3) + 20*cos...

12 mois ago | 0

Answered

Calculating limits, derivatives, and integrals in AppDesigner

Hi There are two types of Edit Fields, one for Numeric values and the other one is for text. If you try to store or retreive ...

Calculating limits, derivatives, and integrals in AppDesigner

Hi There are two types of Edit Fields, one for Numeric values and the other one is for text. If you try to store or retreive ...

12 mois ago | 0

Answered

hoe to mark tittle on graph

Hi, For example, plot((1:10).^2) title('My Title') % Add title to plot xlabel('x axis label') % Add label to x axis ylabel(...

hoe to mark tittle on graph

Hi, For example, plot((1:10).^2) title('My Title') % Add title to plot xlabel('x axis label') % Add label to x axis ylabel(...

12 mois ago | 0

Answered

Use reshape and/or remap to create matrix where every other row is negative

Hi, Refer to the documentation and examples of repmat and reshape.

Use reshape and/or remap to create matrix where every other row is negative

Hi, Refer to the documentation and examples of repmat and reshape.

12 mois ago | 0

Answered

Unable to perform assignment because the left and right sides have a different number of elements. Error in Esram2 (line 61) g(a+1) = g(a) - (N / D) - T; >>

Hi, In this line of code, g(a+1) = g(a) - (N / D) - T; Sizes of variables are: g(a) - 1x1 double ...

Unable to perform assignment because the left and right sides have a different number of elements. Error in Esram2 (line 61) g(a+1) = g(a) - (N / D) - T; >>

Hi, In this line of code, g(a+1) = g(a) - (N / D) - T; Sizes of variables are: g(a) - 1x1 double ...

environ un an ago | 0

| accepted

Answered

Write the following function f(t)=sint*cost using the following methods

Hi, Refer to the documentation pages: for, vectorization, tic, toc

Write the following function f(t)=sint*cost using the following methods

Hi, Refer to the documentation pages: for, vectorization, tic, toc

environ un an ago | 0

Answered

Index exceeds matrix dimensions

Hi, In the code, you are assigning a value to variable 'u' u =100 % 1x1 Double Implies you can only index till 1(since we hav...

Index exceeds matrix dimensions

Hi, In the code, you are assigning a value to variable 'u' u =100 % 1x1 Double Implies you can only index till 1(since we hav...

environ un an ago | 0

Answered

how to make a Joint PDF?

Hi, I did not get the term joint pdf. In case joint pdf means getting all pdfs on the same figure, you can try this out. [f,x...

how to make a Joint PDF?

Hi, I did not get the term joint pdf. In case joint pdf means getting all pdfs on the same figure, you can try this out. [f,x...

environ un an ago | 0

Answered

How to Graph more than one ODE on a plot

Hi, As per my understanding, you want to plot 2 ODEs on same graph. Use can use hold command to add many plots on existing axes...

How to Graph more than one ODE on a plot

Hi, As per my understanding, you want to plot 2 ODEs on same graph. Use can use hold command to add many plots on existing axes...

environ un an ago | 0

Answered

How to properly set up my Transfer function

Hi, The numerator and denominator coefficients of transfer function should be a row vector or a cell array of row vectors. In t...

How to properly set up my Transfer function

Hi, The numerator and denominator coefficients of transfer function should be a row vector or a cell array of row vectors. In t...

environ un an ago | 0

| accepted

Answered

How can I change 'NaT' value to normal Date value?

Hi, In this line of the code, you are setting InputFormat parameter for the variable 'Time' . opts = setvaropts(opts, "Time", ...

How can I change 'NaT' value to normal Date value?

Hi, In this line of the code, you are setting InputFormat parameter for the variable 'Time' . opts = setvaropts(opts, "Time", ...

environ un an ago | 0

| accepted

Answered

New function tiledlayout problems

Hi, tiledlayout(m,n) % Gives you m*n plots tiledlayout(2,1) % Gives you only 2 plots Since you want 100 plots, you should giv...

New function tiledlayout problems

Hi, tiledlayout(m,n) % Gives you m*n plots tiledlayout(2,1) % Gives you only 2 plots Since you want 100 plots, you should giv...

environ un an ago | 0

Answered

Adding existing axes objects to a new tiledlayout

Hi Christoph, set(arrayOfAxes{i}, 'Parent', t); % axes object can not be a child of t(tiledlayout) Each tile in 'tiledlayout'...

Adding existing axes objects to a new tiledlayout

Hi Christoph, set(arrayOfAxes{i}, 'Parent', t); % axes object can not be a child of t(tiledlayout) Each tile in 'tiledlayout'...

environ un an ago | 0

| accepted

Answered

Is Modbus RS485 Slave Write compatible with the Matlab 2018 versions?

Hi, It's not supported in MATLAB 2018 versions. Modbus RS485 Slave Write is introduced in R2020b

Is Modbus RS485 Slave Write compatible with the Matlab 2018 versions?

Hi, It's not supported in MATLAB 2018 versions. Modbus RS485 Slave Write is introduced in R2020b

environ un an ago | 0

Answered

How to connect the next set of points with a smooth line/curve?

Hi, The follwing link might help you : https://www.mathworks.com/matlabcentral/answers/371211-how-to-create-a-smooth-curve-thro...

How to connect the next set of points with a smooth line/curve?

Hi, The follwing link might help you : https://www.mathworks.com/matlabcentral/answers/371211-how-to-create-a-smooth-curve-thro...

environ un an ago | 0

Answered

How can I display bool values while executing a program on a connected device?

Hi, As per my understanding you want to find if the value is within the limits and get the boolean output. To check if the val...

How can I display bool values while executing a program on a connected device?

Hi, As per my understanding you want to find if the value is within the limits and get the boolean output. To check if the val...

plus d'un an ago | 0

Answered

. Transform the quadratic form 13x 2 −10xy + 13y 2 to canonical form and specify the matrix of transformation.

Hi Preethi, Refer this link https://www.mathworks.com/matlabcentral/answers/582095-convertion-of-quadratic-form-to-cononical-f...

. Transform the quadratic form 13x 2 −10xy + 13y 2 to canonical form and specify the matrix of transformation.

Hi Preethi, Refer this link https://www.mathworks.com/matlabcentral/answers/582095-convertion-of-quadratic-form-to-cononical-f...

plus d'un an ago | 1

Answered

Loop Question for particle

Hi, You can use union and setdiff functions to find out the particles that are not in contact. Total_Particles - all particl...

Loop Question for particle

Hi, You can use union and setdiff functions to find out the particles that are not in contact. Total_Particles - all particl...

plus d'un an ago | 0

Answered

Plotting graphs of a function with an inclusion of i

Hi, If you want to plot for different values of c, create an array with the values and traverse through all the elements using ...

Plotting graphs of a function with an inclusion of i

Hi, If you want to plot for different values of c, create an array with the values and traverse through all the elements using ...

plus d'un an ago | 0

Answered

How to generate a new array from if statement embedded in for loop

Hi, I understand that you want to terminate the execution of both inner and outer loops once the condition is satisfied. It can...

How to generate a new array from if statement embedded in for loop

Hi, I understand that you want to terminate the execution of both inner and outer loops once the condition is satisfied. It can...

plus d'un an ago | 0

Answered

How to get the value of "Modulation frequency" from WAV file?

Hi, Refer this answer https://www.mathworks.com/matlabcentral/answers/639-frequency-modulating-a-wav-file

How to get the value of "Modulation frequency" from WAV file?

Hi, Refer this answer https://www.mathworks.com/matlabcentral/answers/639-frequency-modulating-a-wav-file

plus d'un an ago | 1

Answered

Linear Regression not working

In the plot command, plot(x,y6,'o',x,f,'r-') you didn’t specify any line style, so you are getting only the data points You ...

Linear Regression not working

In the plot command, plot(x,y6,'o',x,f,'r-') you didn’t specify any line style, so you are getting only the data points You ...

presque 2 ans ago | 0

Answered

Find Command after certain Value

Hi, The following code will return the required index . flag = 0; val = find(A == 3,1); % finding the index of first...

Find Command after certain Value

Hi, The following code will return the required index . flag = 0; val = find(A == 3,1); % finding the index of first...

presque 2 ans ago | 0

| accepted

Answered

How to get multiple numbers in a row for an Array

Hi, Since you are not finding any value varying with j in the inner for loop, you can remove it. EOT = zeros(1, 365*24); for ...

How to get multiple numbers in a row for an Array

Hi, Since you are not finding any value varying with j in the inner for loop, you can remove it. EOT = zeros(1, 365*24); for ...

presque 2 ans ago | 0

Answered

concatenating an output matrix within inner and outer loops

Hi, In case you only want to break the inner for loop, you can try it this way output=[]; k = 1; for z = 1:10; in1 = inpu...

concatenating an output matrix within inner and outer loops

Hi, In case you only want to break the inner for loop, you can try it this way output=[]; k = 1; for z = 1:10; in1 = inpu...

presque 2 ans ago | 0

| accepted

Answered

How to plot single row values of 2 .mat files with linear regression line through it

To add the regression line, you can use polyfit and polyval functions. load SI_Aorta load SI_Femoral % Plot regression line ...

How to plot single row values of 2 .mat files with linear regression line through it

To add the regression line, you can use polyfit and polyval functions. load SI_Aorta load SI_Femoral % Plot regression line ...

presque 2 ans ago | 0

| accepted

Solved

Convert from Fahrenheit to Celsius

Given an input vector |F| containing temperature values in Fahrenheit, return an output vector |C| that contains the values in C...

environ 2 ans ago