# Sanjay Manohar

### UCL

http://www.smanohar.com

Professional Interests: Cognitive Neuroscience

**Statistics**

RANK**1 632**

of 250 454

REPUTATION**28**

CONTRIBUTIONS

**12** Questions

**9** Answers

ANSWER ACCEPTANCE **
25.0%
**

VOTES RECEIVED**16**

RANK**6 884** of 17 398

REPUTATION**123**

AVERAGE RATING**4.50**

CONTRIBUTIONS**5** Files

DOWNLOADS **37**

ALL TIME DOWNLOADS**1137**

RANK

of 104 143

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

**Content Feed**

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

10 månader 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 ett å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 2 år ago | 0

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

mer än 2 å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.

mer än 2 å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 ...

ungefär 3 å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 3 år ago | 1

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

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

mer än 3 år ago | 2

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 3 år ago | 1 answer | 0

### 1

answererror 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 ...

nästan 5 år ago | 2

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 ]...

nästan 5 å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 5 å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...

nästan 6 å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 6 å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 7 å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 7 å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...

mer än 7 å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 9 år ago | 0 answers | 1

### 0

answersQuestion

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 9 år ago | 3 answers | 0

### 3

answersQuestion

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

ungefär 9 å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...

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