CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

Question

Where to get old MS Visual C++ compiler?

Each Matlab version allows certain compiler versions. In my case, I have Matlab 2016b so I need to use MS Visual 2013, see <http...

ungefär 3 år ago | 1 answer | 0

Answered

How to get mexcuda running - compiler settings

OK, it finally works. Indeed, it was necessary to remove MS Visual Studio 2015 and install MS Visual Studio 2013 (because CUDA 7...

How to get mexcuda running - compiler settings

OK, it finally works. Indeed, it was necessary to remove MS Visual Studio 2015 and install MS Visual Studio 2013 (because CUDA 7...

mer än 4 år ago | 1

| accepted

Question

How to get mexcuda running - compiler settings

Dear Matlab community, I write to those of you that have already gone through the process of getting Matlab under Windows comp...

mer än 4 år ago | 2 answers | 0

Answered

How to save a 1x2 matrix in a variable in each iteration?

I am not really sure what you want. Does the following do the trick? c={}; for ite=1:80 for run=1:10 ...

How to save a 1x2 matrix in a variable in each iteration?

I am not really sure what you want. Does the following do the trick? c={}; for ite=1:80 for run=1:10 ...

nästan 5 år ago | 0

Answered

How can I perform nonlinear regression with two input variables and one dependent variable

You could use lsqcurvefit for that, where prbably X1 and X2 need to be put together into a single array, and a,b,c,d also need t...

How can I perform nonlinear regression with two input variables and one dependent variable

You could use lsqcurvefit for that, where prbably X1 and X2 need to be put together into a single array, and a,b,c,d also need t...

nästan 5 år ago | 0

Answered

How to replace some lines in a file with lines of another file?

Maybe something like: line_numbers = dlmread('file3'); data1 = dlmread('file1'); data2 = dlmread('file2'); for...

How to replace some lines in a file with lines of another file?

Maybe something like: line_numbers = dlmread('file3'); data1 = dlmread('file1'); data2 = dlmread('file2'); for...

mer än 5 år ago | 0

| accepted

Answered

Replace values in one column in multiple cells in array

Maybe try: function [X]=replace_cells(cell,X) for i=1:length(cell) X{i}(:,[5])=cell{i}(:,[5]); end

Replace values in one column in multiple cells in array

Maybe try: function [X]=replace_cells(cell,X) for i=1:length(cell) X{i}(:,[5])=cell{i}(:,[5]); end

mer än 5 år ago | 1

| accepted

Question

bicgstab with convergence monitor / modify MATLAB's .m files

Hi everybody, the thing I want to achieve is an iterative matrix solver (bicgstab) that delivers a convergence monitor during...

mer än 5 år ago | 0 answers | 1

Answered

pause with time and keyboard

Maybe you can start a parfor loop with two parallel tasks, and run a while loop in each of them - the first while loop checks fo...

pause with time and keyboard

Maybe you can start a parfor loop with two parallel tasks, and run a while loop in each of them - the first while loop checks fo...

mer än 6 år ago | 0

Answered

creating a random vector of the values 0,1 with specific gaps

Hi Shani, you could first generate a vector of 0 and 1 with the desired fraction of 1 and then check for each 1 if one of the ne...

creating a random vector of the values 0,1 with specific gaps

Hi Shani, you could first generate a vector of 0 and 1 with the desired fraction of 1 and then check for each 1 if one of the ne...

mer än 6 år ago | 0

Answered

Can legend marker symbols be hard coded in MATLAB?

You can add a second curve that is outside the plot range and denote the symbold that you would like to see in your legend to th...

Can legend marker symbols be hard coded in MATLAB?

You can add a second curve that is outside the plot range and denote the symbold that you would like to see in your legend to th...

mer än 6 år ago | 0

| accepted

Answered

How to Calculate area of partial pixels in a square image cut off by a circle ?

You could randomly define a large number of points inside each pixel and then check for each of the points, if it is inside the ...

How to Calculate area of partial pixels in a square image cut off by a circle ?

You could randomly define a large number of points inside each pixel and then check for each of the points, if it is inside the ...

mer än 6 år ago | 0

Answered

Solving System of two second order ODE's

In order to get a system of first order equations, you substitute y' by t and z' by s, right? So your independent functions are ...

Solving System of two second order ODE's

In order to get a system of first order equations, you substitute y' by t and z' by s, right? So your independent functions are ...

mer än 6 år ago | 0

Answered

offset of ticks labels

You could try something like set(gca,'YTickLabel', {'-0.3 ','-0.2 ','-0.1 ','0 ','0.1 ','0.2'})

offset of ticks labels

You could try something like set(gca,'YTickLabel', {'-0.3 ','-0.2 ','-0.1 ','0 ','0.1 ','0.2'})

mer än 6 år ago | 1

Answered

How to normalize a probability density function?

As I understand it, the Gauss curve _is_ normalized: trapz(binranges,gauss),trapz(binranges,norbincts) leads to an outpu...

How to normalize a probability density function?

As I understand it, the Gauss curve _is_ normalized: trapz(binranges,gauss),trapz(binranges,norbincts) leads to an outpu...

mer än 6 år ago | 0

Question

How can I use LU factorization in the most memory saving way?

Hello, I would like to solve linear equations of the form Ax=b by means of LU decomposition. As the solution is seeked for se...

mer än 6 år ago | 0 answers | 1