**Statistics**

RANK**2,879**

of 290,975

REPUTATION**19**

CONTRIBUTIONS

**82** Questions

**0** Answers

ANSWER ACCEPTANCE **
37.8%
**

VOTES RECEIVED**19**

RANK**13,452** of 19,735

REPUTATION**19**

AVERAGE RATING**0.00**

CONTRIBUTIONS**1** File

DOWNLOADS **1**

ALL TIME DOWNLOADS**197**

RANK

of 145,593

CONTRIBUTIONS

**0** Problems

**0** Solutions

SCORE**0**

NUMBER OF BADGES**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Feeds**

Question

Inputting simulation data to Simulink

I am trying to implement the following controller in Simulink. The input is an array of size N×1, which exists in MATLAB worksp...

2 years ago | 1 answer | 0

### 1

answerQuestion

Finding the edges of an ellipse in an image

I have an binary image as shown below. <</matlabcentral/answers/uploaded_files/37057/LeadingVortex_No_Ellipse.jpg>> As can...

8 years ago | 2 answers | 0

### 2

answersQuestion

Solving a system of nonlinear equations

I have about 1000 measurement which relates three variables to each other: |x|, |y|, and |z|. In other words, I have 1000 measur...

9 years ago | 1 answer | 0

### 1

answerQuestion

Imposing a prescribed motion field to a grayscale image

I have a grayscale image with intensity distribution |I1(i,j)|. I am trying apply a motion field u(i,j), v(i,j) where |(i...

9 years ago | 2 answers | 0

### 2

answersQuestion

Determining the separability of a 3D kernel

I have three kernels of size |2×2×2| (as define below by |ker1|, |ker2|, |ker3|). I wanted to know how I can determine whether t...

9 years ago | 0 answers | 0

### 0

answersQuestion

Model Reduction of a Noisy 2D Experimental Data

I am trying to understand the following |MATLAB| code: Reduce(Reduce(u)) where |u| is a |n×m| matrix and is a 2D measu...

9 years ago | 0 answers | 0

### 0

answersQuestion

mexCallMATLAB crashes for dynamically allocated mxArrays

Could someone kindly help me fix the issue that I have in using dynamically allocated mxArrays? In the example code below, MATLA...

9 years ago | 1 answer | 0

### 1

answerQuestion

Problem in using mxSetPr

I am writing a function within in a |mex| file which calls a |MATLAB| function. Unfortunately, when it comes to |mxSetPr|, |MATL...

9 years ago | 1 answer | 0

### 1

answerQuestion

Taking a special image derivative using convolution

I have two images at different times. The first image is |im1| at time |t1| and the second image is |im2| at time |t2|. I want t...

9 years ago | 0 answers | 1

### 0

answersQuestion

Most Efficient Way of Using mexCallMATLAB in Converting Double* to mxArray*

I am writing a |MEX| code in which I need to use |pinv| function. I am trying to find a way to pass the array of type |double| t...

9 years ago | 1 answer | 0

### 1

answerQuestion

A problem in running a MEX file in a consistent way

I have written a |MEX| file. This file compiles successfully with no problem. For some reasons, which I am really baffled, this ...

10 years ago | 1 answer | 0

### 1

answerQuestion

How can I label a solution as NaN in a MEX code?

I am using solvers of |LAPACK| libraries in a |MATLAB| |MEX| file for solving linear system of equations. For some of the cases,...

10 years ago | 2 answers | 0

### 2

answersQuestion

Problem in using the "-g" option of mex

I have written a |MEX| file which is successfully built by: mex -v mymex.cpp However, when I want to add the debug inf...

10 years ago | 1 answer | 0

### 1

answerQuestion

Defining a function (including vector dot product) for all the points in 3D

I am trying to build the following function in a three dimensional domain. <</matlabcentral/answers/uploaded_files/13670/Un...

10 years ago | 2 answers | 0

### 2

answersQuestion

Problem in using bsxfun

I have two arrays in MATLAB: A; % size(A) = [NX NY NZ 3 3] b; % size(b) = [NX NY NZ 3 1] These two arrays are ver...

10 years ago | 1 answer | 0

### 1

answerQuestion

Custom subarray of a multidimensional array

I have an array |A| which has a size |[N1 N2 N3 3 3]|. Array |A| can be considered as a rectangular box in three dimensions that...

10 years ago | 1 answer | 0

### 1

answerQuestion

How to vectorize the multiplication of arrays with DIM=5?

I have a three dimensional domain in MATLAB. For each point in the domain I have defined three arrays of size |(NX,NY,NZ)| at ea...

10 years ago | 0 answers | 0

### 0

answersQuestion

Finding the repetition of each element of a matrix

I have a matrix named A with size N×3. For example, A = [ 1 2 3; 1 4 5; 5 6 7; ...

10 years ago | 2 answers | 0

### 2

answersQuestion

Mapping elements of a matrix using a vector array

I have a matrix named A with size N×3. The values of the elements of A ranges from 1 to M. For example, A with size 8×3: A ...

10 years ago | 1 answer | 1

### 1

answerQuestion

Replacing all the elements of one matrix with new values (one to one mapping)

I have a large matrix of size 50000×3. I would like to replace the values of the elements with a new values. To illustrate my pr...

10 years ago | 1 answer | 0

### 1

answerQuestion

Changing the radial range in a polar plot

Dear All, I would like to change the radial range of a polar plot. How can I change the following plot such that radius range...

10 years ago | 1 answer | 0

### 1

answerQuestion

Deploying 32bit applications using MATLAB 64bit

Hello All, May I know how I can deploy a MATLAB code into a 32 bit application using MATLAB 64bit running under Windows 7 64b...

10 years ago | 1 answer | 0

### 1

answerQuestion

vectorizing calculation of eigen values of a large multi-dimensional array

Dear All, I have a 3D rectangular domain. Each point is associated with a vector(u,v,w) through time. u, v, and w are of size...

11 years ago | 2 answers | 1

### 2

answersQuestion

How to vectorize a for loop with an if condition inside

Dear All, How can I vectorize the following loop? Basically, I have a structured grid in whose node ids are stored in a array...

11 years ago | 1 answer | 0

### 1

answerQuestion

writing a buffer of 80 characters to file in a binary format

I am trying to translate the following snippet which is in C. char buffer[80]; strcpy(buffer,"Velocity"); fwrite(buff...

11 years ago | 3 answers | 0

### 3

answersQuestion

Is it possible to use C++ string and sstream in MATLAB MEX?

Dear All, Is it possible to use C++ string and sstream in a MATLAB MEX file? The following is a part of my code in which I am...

11 years ago | 0 answers | 0

### 0

answersQuestion

Problem using Intel MKL with MEX

Dear All, Is it possible to use Intel MKL 10.3 in MEX? I am having problem in using MKL 10.3 along with MEX. I have no proble...

11 years ago | 1 answer | 0

### 1

answerQuestion

Problem in specifying dependent library files by using MEX switches

I am trying to find the instructions for specifying the dependent library files as well as the path for compiling a c++ MEX file...

11 years ago | 4 answers | 0

### 4

answersQuestion

Apply a mask to 4D medical images in a vectorized way

Dear All, I have a 4D array V, with the size [144 144 12 25]. In fact, it is a 4D medical image with 12 stacked slices in 25 ...

11 years ago | 2 answers | 0

### 2

answersQuestion

Help on showing a mask in an axes object for a MATLAB GUI

Dear All, I have designed a GUI which has an axes object. I want to create and overlay a mask on an image in the axes of the ...

11 years ago | 2 answers | 0