Answered

Color by value for 3D curve fitting

Hi Bob You can achieve this by specifying the color data limits. Here is an example I created. By default, when I execute m...

Color by value for 3D curve fitting

Hi Bob You can achieve this by specifying the color data limits. Here is an example I created. By default, when I execute m...

10 years ago | 0

Answered

Creating simple parent index from list of edges and nodes

Hi Bernard As far as I know, there is no available tool in MATLAB that can help you create a list of parent nodes directly fr...

Creating simple parent index from list of edges and nodes

Hi Bernard As far as I know, there is no available tool in MATLAB that can help you create a list of parent nodes directly fr...

10 years ago | 0

Answered

i want to calculate the color features of soap only for that i mask BW ROI on an RGB soap image , i did the folowing code but the values are different when i calculte the color features byi croping only the soap image(with out the background)?Hlp

Hi Solomon From what I understand, you would like to perform some _masking_ operation on the original figure and would like t...

i want to calculate the color features of soap only for that i mask BW ROI on an RGB soap image , i did the folowing code but the values are different when i calculte the color features byi croping only the soap image(with out the background)?Hlp

Hi Solomon From what I understand, you would like to perform some _masking_ operation on the original figure and would like t...

10 years ago | 0

| accepted

Answered

Does MATLAB support USRP X310 (NI USRP-29xxR)?

It seems that the current release does not support USRP X310 and it is hard to tell when it would be supported in the future.

Does MATLAB support USRP X310 (NI USRP-29xxR)?

It seems that the current release does not support USRP X310 and it is hard to tell when it would be supported in the future.

10 years ago | 0

| accepted

Answered

The function f(t) has fourier transform 1-iω/1+iω Sin ω/ω . Compute ʃ f(t) ^2 d(t)

Use Parseval's Theorem http://en.wikipedia.org/wiki/Parseval%27s_theorem

The function f(t) has fourier transform 1-iω/1+iω Sin ω/ω . Compute ʃ f(t) ^2 d(t)

Use Parseval's Theorem http://en.wikipedia.org/wiki/Parseval%27s_theorem

10 years ago | 1

Answered

Problem with Simulink Integrator block

Yes, there is a block called |Data Type Conversion|. See the following for details: <http://www.mathworks.com/help/simulink/slr...

Problem with Simulink Integrator block

Yes, there is a block called |Data Type Conversion|. See the following for details: <http://www.mathworks.com/help/simulink/slr...

10 years ago | 0

Answered

Change colormap image processing

Hi Ashray Can you try executing the following command in MATLAB >> set(gcf, ‘renderer’, ‘opengl’). and see if it work...

Change colormap image processing

Hi Ashray Can you try executing the following command in MATLAB >> set(gcf, ‘renderer’, ‘opengl’). and see if it work...

10 years ago | 0

| accepted

Answered

How to prevent Matlab from freezing when doc help is opened?

That seems to be a bug. You can find the bug report and a workaround here: <http://www.mathworks.com/support/bugreports/87084...

How to prevent Matlab from freezing when doc help is opened?

That seems to be a bug. You can find the bug report and a workaround here: <http://www.mathworks.com/support/bugreports/87084...

10 years ago | 0

Answered

how to transfer complex valued matrix into excel

Hi Saba I would like to suggest you place the complex numbers into the Excel sheet as *strings*. For example, the complex nu...

how to transfer complex valued matrix into excel

Hi Saba I would like to suggest you place the complex numbers into the Excel sheet as *strings*. For example, the complex nu...

10 years ago | 2

Answered

Button Down fcn for Listbox

Hi Max In MATLAB GUI, a left mouse click triggers the execution of the listbox's |Callback| function and a right mouse click ...

Button Down fcn for Listbox

Hi Max In MATLAB GUI, a left mouse click triggers the execution of the listbox's |Callback| function and a right mouse click ...

10 years ago | 2

| accepted

Answered

multiobjective optimization problem (NSGA)

Hi Adam It seems that you are executing the nonlinear function itself. If that is the case, I wonder what is the expected ans...

multiobjective optimization problem (NSGA)

Hi Adam It seems that you are executing the nonlinear function itself. If that is the case, I wonder what is the expected ans...

10 years ago | 0

Answered

Help vectorizing 2 For loops with meshgrid and subscripts

Hi Carlos Here is what I would do: mat1=zeros(a^2,a^2); x=[1:a]; y=[1:a]; [Xm,Ym]=meshgrid(x,y); Xm1...

Help vectorizing 2 For loops with meshgrid and subscripts

Hi Carlos Here is what I would do: mat1=zeros(a^2,a^2); x=[1:a]; y=[1:a]; [Xm,Ym]=meshgrid(x,y); Xm1...

10 years ago | 0

| accepted

Answered

inputs for pdf and mvnpdf

Hi David From what I understand, you are trying to recreate the probability density function |fy(y)| from the joint distribut...

inputs for pdf and mvnpdf

Hi David From what I understand, you are trying to recreate the probability density function |fy(y)| from the joint distribut...

10 years ago | 0

Answered

How to plot c(t) vs t

I would first define a function as follows: function y = Cfun(t, v) u = double(t>=0); Cmin = 10e-9; Cmax ...

How to plot c(t) vs t

I would first define a function as follows: function y = Cfun(t, v) u = double(t>=0); Cmin = 10e-9; Cmax ...

10 years ago | 0

| accepted

Answered

computing running standard deviation

Hi Shobhit You may want to take a look at the file-exchange submission: <http://www.mathworks.com/matlabcentral/fileexcha...

computing running standard deviation

Hi Shobhit You may want to take a look at the file-exchange submission: <http://www.mathworks.com/matlabcentral/fileexcha...

10 years ago | 0

| accepted

Answered

Fixing code logic bug (Linear Algebra + MATLAB)

Hi Nicolas From what I understand, two different approaches are used here and they should lead to the same results in the la...

Fixing code logic bug (Linear Algebra + MATLAB)

Hi Nicolas From what I understand, two different approaches are used here and they should lead to the same results in the la...

10 years ago | 0

| accepted

Answered

Please help!! Need to constrain/force LSQNONLIN to pass through a given point e.g. the origin

Hi Chris From what I understand, you would like to fit the nonlinear model with your data set, and you would like to know how...

Please help!! Need to constrain/force LSQNONLIN to pass through a given point e.g. the origin

Hi Chris From what I understand, you would like to fit the nonlinear model with your data set, and you would like to know how...

10 years ago | 0

| accepted

Answered

how to plot multiple implicit quadratic surfaces at once ?

Hi Itzik Ben Shabat I agree that you could revise the function such that it takes input arguments |C| and |D| as matrices wit...

how to plot multiple implicit quadratic surfaces at once ?

Hi Itzik Ben Shabat I agree that you could revise the function such that it takes input arguments |C| and |D| as matrices wit...

10 years ago | 0

Answered

Calculate the volume of shape descibed by 3d points.

Hi Lucy The volume of that object can be approximated by the volume of its convex hull. In mathematics, the convex hull o...

Calculate the volume of shape descibed by 3d points.

Hi Lucy The volume of that object can be approximated by the volume of its convex hull. In mathematics, the convex hull o...

10 years ago | 3

Answered

Is there a way to fully display a symbolic answer that is truncated in the command window?

Hi Ben The |diary| command can be used to save the outputs displayed in the command window to a text file. You can find the w...

Is there a way to fully display a symbolic answer that is truncated in the command window?

Hi Ben The |diary| command can be used to save the outputs displayed in the command window to a text file. You can find the w...

10 years ago | 9

| accepted

Answered

Optimization giving unexpected results

Hi Gimpy Since |linprog| finds the *minimum* for the function f(x) but the problem you are trying to solve is a *maximization...

Optimization giving unexpected results

Hi Gimpy Since |linprog| finds the *minimum* for the function f(x) but the problem you are trying to solve is a *maximization...

10 years ago | 1

| accepted

Answered

Special case of ODE45 for coupled 2nd order differential equations

Hi Tal From what I understand, you would like to simulation the system y'=2y-z z'+y''=4y-2z using ODE45. Also, yo...

Special case of ODE45 for coupled 2nd order differential equations

Hi Tal From what I understand, you would like to simulation the system y'=2y-z z'+y''=4y-2z using ODE45. Also, yo...

10 years ago | 0

Answered

Integration in Matlab from negative to positive infinity

Hi Lukasz I think Roger is right, and the equal sign is not necessary. The link you provided is only for |MUPAD| <http://w...

Integration in Matlab from negative to positive infinity

Hi Lukasz I think Roger is right, and the equal sign is not necessary. The link you provided is only for |MUPAD| <http://w...

10 years ago | 1

| accepted

Answered

How do I use ode45 for descriptive form?

You may solve it as a DAE (differential algebraic equation), instead of an ODE. This documentation <http://www.mathworks.com/...

How do I use ode45 for descriptive form?

You may solve it as a DAE (differential algebraic equation), instead of an ODE. This documentation <http://www.mathworks.com/...

10 years ago | 2

| accepted

Answered

Find unique combinations of double and character elements

I believe both the answers by Andrei Bobrov and Azzi Abdelmalek are correct. The error message should be caused by your original...

Find unique combinations of double and character elements

I believe both the answers by Andrei Bobrov and Azzi Abdelmalek are correct. The error message should be caused by your original...

10 years ago | 1

Answered

How can I form equation from my data?

Hi Shashank I understand that you would like to perform regression on your data set using MATLAB. In particular, you would ...

How can I form equation from my data?

Hi Shashank I understand that you would like to perform regression on your data set using MATLAB. In particular, you would ...

10 years ago | 0

Answered

how to generate function?

Hi Shashank I have just replied your original question <http://www.mathworks.com/matlabcentral/answers/146458-how-can-i-f...

how to generate function?

Hi Shashank I have just replied your original question <http://www.mathworks.com/matlabcentral/answers/146458-how-can-i-f...

10 years ago | 0

| accepted

Answered

Help with large start up error R2014a.

You may want to try the following commands rehash rehash toolboxcache

Help with large start up error R2014a.

You may want to try the following commands rehash rehash toolboxcache

10 years ago | 0

Answered

Trying to plot 3-d

See the files I revised as attached. It can generate |Pmean|. Similarly you can plot |Pmax|. Notice that it is not clear what |K...

Trying to plot 3-d

See the files I revised as attached. It can generate |Pmean|. Similarly you can plot |Pmax|. Notice that it is not clear what |K...

10 years ago | 0

| accepted

Answered

MatLab 2012b sum block with signed/unsigned numbers

Before the model is executed, SIMULINK will try to figure out what is the output datatype of the |Add Block|. Since the |Display...

MatLab 2012b sum block with signed/unsigned numbers

Before the model is executed, SIMULINK will try to figure out what is the output datatype of the |Add Block|. Since the |Display...

10 years ago | 1

| accepted