# Sanjay Manohar

### UCL

Followers: 0 Following: 0

http://www.smanohar.com Professional Interests: Cognitive Neuroscience

**Statistics**

RANK**1 902**

of 289 771

REPUTATION**32**

CONTRIBUTIONS

**12** Questions

**9** Answers

ANSWER ACCEPTANCE **
25.0%
**

VOTES RECEIVED**18**

RANK**5 675** of 19 586

REPUTATION**205**

AVERAGE RATING**4.70**

CONTRIBUTIONS**5** Files

DOWNLOADS **27**

ALL TIME DOWNLOADS**1859**

RANK

of 144 154

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**

How to fit a curved surface to 3d data

For estimating a single Z-surface on an XY plane, I have had great success with the gridfit toolbox, downloadable from here. It ...

ungefär 3 år ago | 0

Question

Matlab Live script editor font does not respect settings

I am using a live script and the code font is horrendous. It is not the monospaced font that is configured for code editors. W...

mer än 3 år ago | 1 answer | 0

### 1

answercurve fitting to step and impulse response

The data and the fit start 90 degrees out of phase! You probably need a phase term. sin(dx+c) If you know the curve is cons...

mer än 4 år ago | 0

Submitted

poincare_map

Given a multi-dimensional time series, find the points where the trajectory crosses a given plane. This is useful for finding pe...

mer än 4 år ago | 22 downloads |

Question

UnableToResolveHiddenFunction

I'm calling a function that I stored in a structure as a function handle. I get the following error Unable to find functi...

nästan 5 år ago | 0 answers | 0

### 0

answersParfor loop just hangs, CPU usage goes to zero

I was having the same parfor problem, until I noticed I had a "keyboard" instruction in my code.

nästan 5 år ago | 0

Question

How di I upgrade to a new version of matlab preserving my configuration?

I am running R2017b on a University computer, on a University license. I want to upgrade to 2018a, which is of course available ...

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

### 0

answersParallel processing toobox not working on Ubuntu 18.04

Thanks all, the commands restoredefaultpath rehash toolboxcache solved the problem.

mer än 5 år ago | 1

How do you place text in same position of 12 subplots?

text( 0.5,0.5,'Hi','Units','Normalized' )

mer än 5 år ago | 3

Question

Parallel processing toobox not working on Ubuntu 18.04

I have installed Matlab R2018a on a fresh install of Ubuntu 18.04. I can't get the parallel processing toolbox to work. It s...

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

### 1

answerSubmitted

ensureStructsAssignable( destination, source )

Ensure two structs are compatible for subscripted assignment

nästan 6 år ago | 1 download |

error loading path

I found this was because of an user access control problem. The file MATLAB\toobox\local\pathdef.m was not accessible. I had ...

ungefär 7 år ago | 3

How to draw an arrow or triangle

This is not a MATLAB question. But for completeness, the answer should be % create a triangle head = [ 100, 100 ]...

ungefär 7 år ago | 2

Matlab path problem on new R2015a installation

Hi I had this same problem. I found that I had a file called "strplit.m" in one of my toolboxes which I had downloaded from the...

mer än 7 år ago | 0

Question

nlmefit compound symmetry covariance pattern?

Hi, I am using nlmefit to fit a model of a "repeated measures" kind. The function provides very powerful control over the cov...

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

### 1

answerQuestion

Covariance of parameter estimates in nonlinear mixed effects fit

I'm using nlmefit, and am trying to test the hypotheses using linhyptest. For that I need the covariance of the parameter estim...

mer än 8 år ago | 0 answers | 0

### 0

answersMulti-Line Colors in 2014

Thanks all for your help. For anyone who wants to do this in future: I finally got the answer by email from Claudette at Math...

ungefär 9 år ago | 4

| accepted

Question

Multi-Line Colors in 2014

In 2013 and earlier I could do this to compare multi-line plots: % make up some data X1 = rand(5,3); X2 = X1+ran...

ungefär 9 år ago | 3 answers | 1

### 3

answersQuestion

Possible sporadic bug in GUI?

I am getting the below exception, sporadically, usually triggered by mouse clicks anywhere on the GUI. Doesn't seem to be relat...

nästan 10 år ago | 0 answers | 0

### 0

answersQuestion

Figure Export - axes always duplicated

Whenever I export a figure in a vector format, or copy a figure and paste as a vector format, I get multiple copies of the axis ...

nästan 11 år ago | 0 answers | 1

### 0

answersSubmitted

NANCAT

Like CAT, but padding with NaNs. Doesn't complain if input sizes heterogeneous. Faster than CATPAD.

ungefär 11 år ago | 2 downloads |

Submitted

groupMeans

MEAN(X,DIM,CATEG) - take the MEAN of X along DIM, but grouped according to a categorical variable.

ungefär 11 år ago | 1 download |

Question

ANOVAN: Undefined function or variable "denommat"

Hi, I'm getting this error in ANOVAN: Undefined function or variable "denommat". I have 3 factors, one is a random effect (whic...

ungefär 11 år ago | 3 answers | 0

### 3

answersSubmitted

anovanTable

Calls ANOVAN, but takes an N-dimensional array as the data.

mer än 11 år ago | 1 download |

Question

Matlab 2012b restore original menus and remove ribbon?

We have recently upgraded to matlab 2012b and horrified - can't find any menu items! Have spent 20 minutes fiddling with the rib...

mer än 11 år ago | 1 answer | 3

### 1

answerQuestion

Utilising Multicore on Linux Matlab 7.11 64-bit

I'm unable to get multicore working. I am running the following in a script: function partest X=ones(10000); for(a...

ungefär 13 år ago | 2 answers | 0