# John

**Statistics**

RANK**4,192**

of 277,979

REPUTATION**10**

CONTRIBUTIONS

**45** Questions

**13** Answers

ANSWER ACCEPTANCE **
33.33%
**

VOTES RECEIVED**7**

RANK

of 18,805

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

Question

How to read text line and assign value to variable?

Many tech files have header like this: int display_order = 1; int bigendian = 0; float imagescale = 1.00...

4 years ago | 1 answer | 0

### 1

answerQuestion

Multiple variable Neural Network prediction.

The problem is to predict the trajectory in space. Obviously, there will be three variables (x, y, z) for both input and out...

5 years ago | 0 answers | 0

### 0

answersQuestion

How to write script for coupled multiple time-series prediction using NN?

There are 3 time progression curves, coupled with unknown factors. It's needed to predict 3 numbers (short time one point is OK)...

5 years ago | 0 answers | 0

### 0

answersQuestion

Deploytool, which folder to distribute?

After packaging, a few folders produced. Which is the right folder to distribute, assuming the user doesn't have Matlab installe...

5 years ago | 1 answer | 0

### 1

answerQuestion

How to find the erro for fitted parameters?

When using 'lsqnonlin', 'lsqcurvefit', 'fitnlm', 'nlinfit', etc.. It produces optimized parameters. How to find the error of th...

5 years ago | 1 answer | 0

### 1

answerQuestion

How to display images in 2 color map side-by-side?

I want to display 2 images (or the same image twice) matrix side-by-side (tightly) with say, imagesc, with different color maps....

5 years ago | 1 answer | 0

### 1

answerQuestion

How to set Marker in loop

This is what I combined from this forum: set(0,'defaultaxeslinestyleorder',{'+','o','*','.','x','s','d','^'}); hold all ...

5 years ago | 2 answers | 0

### 2

answersQuestion

Warning to save when saving workspace.

For this code: savename = sprintf('%s_%s.mat',fname1,fname2); save(savename); It produces a warning: "Warning: Figur...

5 years ago | 1 answer | 1

### 1

answerQuestion

How to reshape matrix without loop?

Want to rearrange the matrix A(a,b,c,d) to B(b,c1,c2,d,a), where a,b,c,d are dimensions, c=c1*c2. If known c1=3, for example, B ...

6 years ago | 1 answer | 0

### 1

answerQuestion

fprintf size without knowing the dimension

How can I print the size of the array in one row without prior-knowing the dimension of the array? fprintf(' %d\n',size(arr...

6 years ago | 1 answer | 0

### 1

answerQuestion

How to print size of array?

The array size need to monitor. It's simple and effective with size(x) but no name or location. It would be nice to print if out...

6 years ago | 2 answers | 0

### 2

answersQuestion

How to simultanously create 2 subplots?

Learned from Matlab, this worked: figure; for k = 1:8 h(k) = subplot(2,4,k); end figure; for k = 1:8 J(k...

6 years ago | 1 answer | 0

### 1

answerHow to get indexed pixels from set of images?

Will this single loop way work? And a loop-less way would be more "elegant".

6 years ago | 0

Question

How to get indexed pixels from set of images?

A set of images a(x,y,n); n images, each image has a size of (x * y); A known index map: imind(x,y), size of the image with eac...

6 years ago | 2 answers | 0

### 2

answersQuestion

Write matrix with Matlab and Read with C?

I have a matrix (100 rows and 5 columns) that want to write it as *binary* and read with C code in the way that I can read it in...

6 years ago | 1 answer | 0

### 1

answerQuestion

How to extract data from a slice?

The example in "doc slice" is very good: hsp = surf(linspace(-2,2,20),linspace(-2,2,20),zeros(20)+1); rotate(h...

6 years ago | 1 answer | 1

### 1

answerQuestion

Can matlab display (plot3, surf, slice, etc...) with dicom LPR convention?

If patient is in supine position (face up), feet first, the dicom coordinate is LPS, X+ is to the left, Y+ points down and Z+ to...

6 years ago | 1 answer | 0

### 1

answerQuestion

How to have labels stick to axis?

<</matlabcentral/answers/uploaded_files/64342/labels.jpg>> On 3D kind of graphics, the labels are horizontal, like attached. ...

6 years ago | 1 answer | 0

### 1

answerMatlab crashes when saving fig

That's not the issue. When exam a figure (just plot or opened) and decide to save, then click on file->save or save as, the ...

6 years ago | 0

How can I generate a plane to use with the SLICE command which is appropriately sized in MATLAB 7.8 (R2009a)?

How to extract the data from this slice for other use? and for example to display the matrix using image as below (this one was ...

6 years ago | 0

Extract slice data from 3D scalar field into a N by M array for integration in Matlab

I second the question and hope to receive answer. Thanks.

6 years ago | 0

Question

How to add constant in fit or nlinfit?

Didn't use fit or nlinfit before. Looking into examples, all variables are to be fit. How to add constants (that are as input...

6 years ago | 0 answers | 0

### 0

answersQuestion

How to prevent Matlab to crash?

Since 2 versions ago, the Matlab crashes every day. Sometimes it crashes when start to run script by clicking the large triangle...

6 years ago | 0 answers | 0

### 0

answersQuestion

Index exceeds matrix dimensions

A six dimension image/matrix: for n6 = 1:image_size(6) img5 = imgin(:,:,:,:,:,n6); imgout(:,:,:,:...

7 years ago | 2 answers | 0

### 2

answersWhat frustrates you about MATLAB?

The Matlab Crashes at least once a day for no reason since a year ago, data and script loss and so frustrating. Before there was...

7 years ago | 0

Question

Matlab crashes when saving fig

In many cases, when saving the figure, the matlab crashes. It happens several times a day. It wasn't the case before 2015 versio...

7 years ago | 3 answers | 1

### 3

answerswaitbar color, 2016a is broken red; how to set to older continuous green?

<</matlabcentral/answers/uploaded_files/55440/waitbar_color.jpg>>

7 years ago | 0

How do I change the color of the bar in a WAITBAR in MATLAB 7.5 (R2007b)?

this still gives broken red, not green.

7 years ago | 0

Question

waitbar color, 2016a is broken red; how to set to older continuous green?

In 2016a waitbar had red color with discrete marks. Older version is continuous green bar. How to set the waitbar to the old...

7 years ago | 3 answers | 0

### 3

answersQuestion

How to add image frames (interpolatin of image frames)?

m frames of images; now want to add (interpolate) some frames in between to make it n frames (n>m); There was "morphology" sof...

7 years ago | 0 answers | 0