Réponse apportée

I don't know how to write the following problem: f(x)=2x^3-15.4x^2+2.7x+2.25 - Determine the area under f(x) on the interval [-1,8]. Use the zeros rounded to one decimal

Area under f(x) basically is just the definite integral of f(x) within the range, right? You know how to use matlab to do inte...

I don't know how to write the following problem: f(x)=2x^3-15.4x^2+2.7x+2.25 - Determine the area under f(x) on the interval [-1,8]. Use the zeros rounded to one decimal

Area under f(x) basically is just the definite integral of f(x) within the range, right? You know how to use matlab to do inte...

presque 3 ans il y a | 0

Réponse apportée

I am given an array

Do you mean: a = [3 4 5 3 64 7 6 34 8 5 4 3]; m = mean(a); st = std(a); an = abs(a - m) > st; ind = find(an); a(ind) = an(...

I am given an array

Do you mean: a = [3 4 5 3 64 7 6 34 8 5 4 3]; m = mean(a); st = std(a); an = abs(a - m) > st; ind = find(an); a(ind) = an(...

presque 3 ans il y a | 0

Réponse apportée

Matlab wouldn't find simple inverse

The inverse function is not well defined for all the possible a. For example a=1, there is no reverse function. If a is an o...

Matlab wouldn't find simple inverse

The inverse function is not well defined for all the possible a. For example a=1, there is no reverse function. If a is an o...

presque 3 ans il y a | 1

Réponse apportée

Summing every nth column

Your logic is not consistent. from 1 to 300, there are 298 rows in between. But from 300 to 600, there are 299 rows in between. ...

Summing every nth column

Your logic is not consistent. from 1 to 300, there are 298 rows in between. But from 300 to 600, there are 299 rows in between. ...

presque 3 ans il y a | 0

Réponse apportée

Looking for simulation folder of the work showed in attached link

You see the 'Copy Command' button on the top right corner? It is a shortcut for this command power_motordrive_IPMSM_FOC It wil...

Looking for simulation folder of the work showed in attached link

You see the 'Copy Command' button on the top right corner? It is a shortcut for this command power_motordrive_IPMSM_FOC It wil...

presque 3 ans il y a | 0

Réponse apportée

Change working directory to where the mlx file is saved

If that folder is in the matlab's path, you can which your_mlx_file.mlx

Change working directory to where the mlx file is saved

If that folder is in the matlab's path, you can which your_mlx_file.mlx

presque 3 ans il y a | 0

Réponse apportée

Write in column of matrix

Left hand side A is a matrix, but right hand side also an A as a array? Also left hand side shall be A(:, 1) Try this: A = z...

Write in column of matrix

Left hand side A is a matrix, but right hand side also an A as a array? Also left hand side shall be A(:, 1) Try this: A = z...

presque 3 ans il y a | 0

| A accepté

Réponse apportée

Dijkstra algoritm coding on multileg itineraries

Dijkstra algorithm actually gives you the seudo-code of the implementation. Just need to translate that seudo-code into matlab. ...

Dijkstra algoritm coding on multileg itineraries

Dijkstra algorithm actually gives you the seudo-code of the implementation. Just need to translate that seudo-code into matlab. ...

presque 3 ans il y a | 0

| A accepté

Réponse apportée

Why am I getting "too many output arguments" when I am Quantizing an input speech?

It looks like quantize only returns one output, not 3 help quantize

Why am I getting "too many output arguments" when I am Quantizing an input speech?

It looks like quantize only returns one output, not 3 help quantize

presque 3 ans il y a | 0

Réponse apportée

How to append image from UIAxes of App designer to the report generating using mlreportgen?

Assuming you are talking about matlab report, this reference talks about how to add a figure into the report.

How to append image from UIAxes of App designer to the report generating using mlreportgen?

Assuming you are talking about matlab report, this reference talks about how to add a figure into the report.

presque 3 ans il y a | 0

| A accepté

Réponse apportée

how do I show the images name on top of each picture

Add a title to each subplot, after you call subplot: title('Horse')

how do I show the images name on top of each picture

Add a title to each subplot, after you call subplot: title('Horse')

presque 3 ans il y a | 0

| A accepté

Réponse apportée

How to use context menu for app designer

Each listbox has its own contextmenu, right? You should be able to tell which listbox is calling, right? Attach a screenshot i...

How to use context menu for app designer

Each listbox has its own contextmenu, right? You should be able to tell which listbox is calling, right? Attach a screenshot i...

presque 3 ans il y a | 0

Réponse apportée

how can a plot a function given by the user in app design?

It seem like all you need is this.

how can a plot a function given by the user in app design?

It seem like all you need is this.

presque 3 ans il y a | 0

Réponse apportée

Error using gmres. Too many output arguments.

It is working, at least for 2021a. Which version are you using please? When matlab outputs an error, it normally tells you whic...

Error using gmres. Too many output arguments.

It is working, at least for 2021a. Which version are you using please? When matlab outputs an error, it normally tells you whic...

presque 3 ans il y a | 0

Réponse apportée

I keep getting the error: Error in Assignment7_1 (line 11) hyp2 = minimize(hyp, @gp, -100, @infGaussLik, meanfunc, covfunc, likfunc, x, y); when I run a code.

The last line calling minimize, which function do you want to call? Are you calling one of the built-in functions or a custom fu...

I keep getting the error: Error in Assignment7_1 (line 11) hyp2 = minimize(hyp, @gp, -100, @infGaussLik, meanfunc, covfunc, likfunc, x, y); when I run a code.

The last line calling minimize, which function do you want to call? Are you calling one of the built-in functions or a custom fu...

presque 3 ans il y a | 0

Réponse apportée

Each data point plots as individual points not as one set of many points

plot can take arrays as inputs. So take the plot call out of the for loop. obj = VideoReader('VidName.avi') %same name as fil...

Each data point plots as individual points not as one set of many points

plot can take arrays as inputs. So take the plot call out of the for loop. obj = VideoReader('VidName.avi') %same name as fil...

presque 3 ans il y a | 1

Réponse apportée

How to delete a part of a curve?

Can you find the point? If you know the point (say t1), then you can have T1 = linspace(t1, 1500, 100); T2 = linspace(300, t1,...

How to delete a part of a curve?

Can you find the point? If you know the point (say t1), then you can have T1 = linspace(t1, 1500, 100); T2 = linspace(300, t1,...

presque 3 ans il y a | 0

Réponse apportée

Solving an equation of 3 unknown variables by inputing 3 sets of data

Try it yourself first, and we can then help to improve your work. Your task can be broken down into the following subtask: Read...

Solving an equation of 3 unknown variables by inputing 3 sets of data

Try it yourself first, and we can then help to improve your work. Your task can be broken down into the following subtask: Read...

presque 3 ans il y a | 0

Réponse apportée

How to access *.mat files using Matlab drive and load them ?

Try without MATLAB Drive? Just load('data.mat')

How to access *.mat files using Matlab drive and load them ?

Try without MATLAB Drive? Just load('data.mat')

presque 3 ans il y a | 0

| A accepté

Réponse apportée

circle inside triangle tangent points

This is more like a math problem, is it? Can you compute two of the bisectors? They intercept right at the center of the circle...

circle inside triangle tangent points

This is more like a math problem, is it? Can you compute two of the bisectors? They intercept right at the center of the circle...

presque 3 ans il y a | 0

| A accepté

Réponse apportée

How to control the visibility of the panels through radio buttons?

create a funciton that sets everything to OFF. Call this function first, and then just set only the one you want to ON.

How to control the visibility of the panels through radio buttons?

create a funciton that sets everything to OFF. Call this function first, and then just set only the one you want to ON.

presque 3 ans il y a | 0

| A accepté

Réponse apportée

A2L file

Start from the documentation of matlab A2L first?

A2L file

Start from the documentation of matlab A2L first?

presque 3 ans il y a | 0

| A accepté

Réponse apportée

In the Symbolic toolbox,how to get the results like in the old version

Seems like the same answer but presented in different form. The new version factorizes the result for example for int(x-x^2) ...

In the Symbolic toolbox,how to get the results like in the old version

Seems like the same answer but presented in different form. The new version factorizes the result for example for int(x-x^2) ...

presque 3 ans il y a | 0

Réponse apportée

Unable to find Perl executable.

Acording to this anwer, matlab uses $SHELL to execute shell command. Most likely your SHELL env var is /usr/bin/fish. Check from...

Unable to find Perl executable.

Acording to this anwer, matlab uses $SHELL to execute shell command. Most likely your SHELL env var is /usr/bin/fish. Check from...

presque 3 ans il y a | 0

Réponse apportée

SLP optimization yields "Error Z must be at least a 2x2 matrix"

Your X is a 100x100 matrix, Y is also a 100x100 matrix. But your G is a 1x100 vector. The error is about your G (referred as Z)....

SLP optimization yields "Error Z must be at least a 2x2 matrix"

Your X is a 100x100 matrix, Y is also a 100x100 matrix. But your G is a 1x100 vector. The error is about your G (referred as Z)....

presque 3 ans il y a | 0

| A accepté

Réponse apportée

getting different results with excel data

Without a sample file, it is difficult to investigate the problem for you. You might need to do this yourself: read the data fr...

getting different results with excel data

Without a sample file, it is difficult to investigate the problem for you. You might need to do this yourself: read the data fr...

presque 3 ans il y a | 0

Réponse apportée

while executing this code in MATLAB iam getting an error like visualizeBoundary requiers more input arguments?

How did you call this function? It looks like this function needs: X: a nx2 matrix y: not sure how it is used in plotData. Mo...

while executing this code in MATLAB iam getting an error like visualizeBoundary requiers more input arguments?

How did you call this function? It looks like this function needs: X: a nx2 matrix y: not sure how it is used in plotData. Mo...

presque 3 ans il y a | 0

Réponse apportée

Create table in a for loop with text

Try this: files = dir('*.csv'); B = {}; for i = 1:length(files) csv = readtable(files(i).name, 'Range', 'A1:I8'); % Doub...

Create table in a for loop with text

Try this: files = dir('*.csv'); B = {}; for i = 1:length(files) csv = readtable(files(i).name, 'Range', 'A1:I8'); % Doub...

presque 3 ans il y a | 1

Réponse apportée

how can i convert detected grayscale image object back into rgb form?

How about changing the red chili area of the last image to alpha = 0 (so it is completely transparent). Then overlay on top of t...

how can i convert detected grayscale image object back into rgb form?

How about changing the red chili area of the last image to alpha = 0 (so it is completely transparent). Then overlay on top of t...

presque 3 ans il y a | 0