Community Profile # Lukas Bystricky

Last seen: 12 months ago Active since 2015

#### Statistics

• • #### Content Feed

View by

Question

MXCREATEDOUBLEMATRIX memory overflow error
I have a mex file which calls MXCREATEDOUBLEMATRIX, for example PLHS(1) = MXCREATEDOUBLEMATRIX(100,1,0) At this line Matlab...

2 years ago | 1 answer | 0

### 1

Question

Compiling mex with gfortran
I'm trying to compile some Fortran files into a mex file. I'm using an existing makefile, and I'm having issues linking the corr...

2 years ago | 0 answers | 0

### 0

Question

Make transparent contourf plot
I'd like to overlay a contourf plot on top of a map of the world. To do this the contourf will need to be transparent. Following...

6 years ago | 2 answers | 1

### 2

Another slightly irritating issue is that you can't call rank(A) on a sparse matrix. Yes I know you can use sprank instead, but ...

7 years ago | 0

Question

Assign separate handles to function outputs
I have a function that returns two outputs, the function value and its derivative. I'd like to create separate handles to the fu...

7 years ago | 1 answer | 0

### 1

Counitng the number of scatter points above a surface
Can your surface be expressed as z = f(x,y)? If so for every scatter point (at position (x0,y0, z0)), you can do: h = z0 -...

7 years ago | 0

I haven't gone through all the answers so it's possible this has already been addressed, but there are a couple things that both...

7 years ago | 0

How to make sure each column in a matrix sums exactly to 1?
It's because you're calculating the column sums and then setting the diagonal entries to 0. If you calculate the sums after you ...

7 years ago | 0

| accepted

Given i have multiple csv files in a folder, how can i access it and read them?
Try something like this files = dir('*.csv'); num_files = length(files); results = cell(length(files), 1); for...

7 years ago | 0

| accepted

Matrix Multiplication column and vector
Try B*A where A is a row vector and B is a column vector (you may need to transpose them to get them in this form). T...

7 years ago | 0

Where can i get the mathematical form/formulaes for all the techniques used in image processing toolbox?
Matlab typically provides references for each function at the bottom of the documentation page. See for example the reference...

7 years ago | 0

| accepted

shifting plot of signal from right to left
Assuming you're plotting x vs. t, instead of plot(t,x) try plot(t - 8, x) (or something close to 8) to shift...

7 years ago | 3

Meaning of the symbol '' \ ''
That's actually a backward slash. J\F is equivalent to solving the system J dx = F for dx, where J is a matrix (probably a Jacob...

7 years ago | 2

| accepted

Question

I'm new to Simulink Coder and I'd like to find out the differences between the various system target files in the code generatio...

7 years ago | 0 answers | 0

### 0

Question

How does Simulink/MATLAB decide on the precision of its output?
<</matlabcentral/answers/uploaded_files/33754/difference_32.jpg>> I'm in the process of doing a comparison between a simple S...

7 years ago | 1 answer | 0