Answered

Saving plot with multiple inputs

Hi Joshua! saveas needs a figure handle to save. assigning a to the output of plot gives you a line instead. Fix it with this: ...

Saving plot with multiple inputs

Hi Joshua! saveas needs a figure handle to save. assigning a to the output of plot gives you a line instead. Fix it with this: ...

8 months ago | 0

| accepted

Answered

How to get a matrix of all maximum values of elements of multiple matrices of the same size?

Hi Mike! Here's a function I wrote to do the task. It assumes that the three input arrays are the same dimensions. function ou...

How to get a matrix of all maximum values of elements of multiple matrices of the same size?

Hi Mike! Here's a function I wrote to do the task. It assumes that the three input arrays are the same dimensions. function ou...

8 months ago | 0

| accepted

Answered

Finding y-value of a function with corresponding x-value given

f = @(x) asind(x); f(3)-f(5) a = 0:0.1:5; plot(a,real(f(a)),a,imag(f(a)))

Finding y-value of a function with corresponding x-value given

f = @(x) asind(x); f(3)-f(5) a = 0:0.1:5; plot(a,real(f(a)),a,imag(f(a)))

8 months ago | 0

Answered

Running same optimization code in multiple instances

Consider the Parallel Computing Toolbox.

Running same optimization code in multiple instances

Consider the Parallel Computing Toolbox.

9 months ago | 0

Answered

How to create a nxn matrix by using for-end loop?

You can do it using diag and avoid the for loop altogether. mymat = diag(ones(19,1),-1) + diag(zeros(20,1)+2,0) + diag(ones(19,...

How to create a nxn matrix by using for-end loop?

You can do it using diag and avoid the for loop altogether. mymat = diag(ones(19,1),-1) + diag(zeros(20,1)+2,0) + diag(ones(19,...

9 months ago | 0

Answered

can not reload 'E:\Program Files\MATLAB\R2016b\bin\win64\libmwsimulink.dll'

Similar question answered here. You need to reinstall some C DLL's and restart MATLAB.

can not reload 'E:\Program Files\MATLAB\R2016b\bin\win64\libmwsimulink.dll'

Similar question answered here. You need to reinstall some C DLL's and restart MATLAB.

9 months ago | 0

Answered

How to do a nonlinear fit using least squares

Attached is code generated by cftool using a custom equation. Hope this helps!

How to do a nonlinear fit using least squares

Attached is code generated by cftool using a custom equation. Hope this helps!

9 months ago | 1

Answered

Creating a pdf file of a tabular data in MATLAB command window

MATLAB Report Generator may be what you are looking for. You may also want to consider writing your results to an excel sheet i...

Creating a pdf file of a tabular data in MATLAB command window

MATLAB Report Generator may be what you are looking for. You may also want to consider writing your results to an excel sheet i...

9 months ago | 1

| accepted

Answered

How to add two values to a matrix each five values of that matrix in order to have a new matrix?

Hi Andrea! Here's a function I wrote to achieve the goal: function out = dup5(inputmatrix) h=size(inputmatrix,1); co...

How to add two values to a matrix each five values of that matrix in order to have a new matrix?

Hi Andrea! Here's a function I wrote to achieve the goal: function out = dup5(inputmatrix) h=size(inputmatrix,1); co...

9 months ago | 1

| accepted

Answered

Is there a way to reduce compilation time for this segment?

Hi Souheil! If you have access to the parallel computing toolbox, you can improve execution time with a parfor loop. tic isco...

Is there a way to reduce compilation time for this segment?

Hi Souheil! If you have access to the parallel computing toolbox, you can improve execution time with a parfor loop. tic isco...

9 months ago | 0

Answered

error trying to convert into pdf

Hi Niraj! Without the script that you are trying to convert or some information about your computer and installation, I don't k...

error trying to convert into pdf

Hi Niraj! Without the script that you are trying to convert or some information about your computer and installation, I don't k...

9 months ago | 0

Answered

integration help function 1/x(e^x -1) from 10^-19 ish to infinity

Hi Sofia! Since you didn't post any code or errors, I don't know what was wrong. It was likely an error with your function def...

integration help function 1/x(e^x -1) from 10^-19 ish to infinity

Hi Sofia! Since you didn't post any code or errors, I don't know what was wrong. It was likely an error with your function def...

9 months ago | 0

Answered

Writing a for loop to run a single command for several different variables

Hi Tom! I'm guessing the issue you were having is that the for loop would iterate through all the elements of both lists indivi...

Writing a for loop to run a single command for several different variables

Hi Tom! I'm guessing the issue you were having is that the for loop would iterate through all the elements of both lists indivi...

9 months ago | 0

| accepted

Answered

How to store output of dde23 command in workspace

I can't run this on my machine without the function ddex1histd, but here's my best idea: Have the function return sol and assig...

How to store output of dde23 command in workspace

I can't run this on my machine without the function ddex1histd, but here's my best idea: Have the function return sol and assig...

9 months ago | 0

| accepted

Answered

Polar coordinates of image.

The function pol2cart might be what you are looking for.

Polar coordinates of image.

The function pol2cart might be what you are looking for.

9 months ago | 0

Answered

Anomalous histogram for small argument

Here's a similar question asked a few years ago which was never really solved either. This comment may be your best approach, bu...

Anomalous histogram for small argument

Here's a similar question asked a few years ago which was never really solved either. This comment may be your best approach, bu...

9 months ago | 0

Answered

How to install GUI on a computer without Matlab?

This answer to a similar question should help you out! In short: Disable anti-virus software Try a different install direct...

How to install GUI on a computer without Matlab?

This answer to a similar question should help you out! In short: Disable anti-virus software Try a different install direct...

9 months ago | 0

Answered

tyengo matlab 7.0 y no puedo instalarlo

Segun MATLAB Wikipedia, no debes usar MATLAB 7.0 con una computadora 64 bit por que MATLAB 7.1 fue la version primera que apoyab...

tyengo matlab 7.0 y no puedo instalarlo

Segun MATLAB Wikipedia, no debes usar MATLAB 7.0 con una computadora 64 bit por que MATLAB 7.1 fue la version primera que apoyab...

9 months ago | 0

Answered

PARFOR not using all logical cores

This answer to the same question gives a comprehensive explanation. The short version: No, MATLAB will not make use of all logi...

PARFOR not using all logical cores

This answer to the same question gives a comprehensive explanation. The short version: No, MATLAB will not make use of all logi...

10 months ago | 1

Answered

how to use logic array

You can use Masking to index your array of results. Try this: row_frame_data(result1) Where row_frame_data is the 8*6 atrix o...

how to use logic array

You can use Masking to index your array of results. Try this: row_frame_data(result1) Where row_frame_data is the 8*6 atrix o...

10 months ago | 0

Submitted

barlabel

Writes the values of bars in bar graphs, with options to rotate text, change how text is displayed, and ignore bars with a value...

10 months ago | 5 downloads |