# Guy Nir

### Harvard medical School

Followers: 0 Following: 0

**Statistics**

RANK**17 615**

of 293 152

REPUTATION**2**

CONTRIBUTIONS

**13** Questions

**6** Answers

ANSWER ACCEPTANCE **
53.85%
**

VOTES RECEIVED**1**

RANK

of 20 001

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

RANK

of 148 561

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

Error following matlab's working with genomes

I added a command to remove any character which is not a letter: % Remove numbers numIdx=find(~isletter(charData)); c...

nästan 4 år ago | 0

| accepted

Question

Error following matlab's working with genomes

I tried following matlab's exapmle of how to memmorry map a genome file ( https://www.mathworks.com/help/bioinfo/examples/workin...

nästan 4 år ago | 1 answer | 0

### 1

answerQuestion

Loading multiple datasets to the classification learner app

I am using the classification learner app. My data is clusters of x,y,z points. My goal is to train the model to say whether the...

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

### 1

answerI am using isosurface to plot 3d density maps. I would like to plot multiple maps in the same figure, each one with a different color. How can I do so?

% Sorry, please use this updated script, otherwise it will plot them all on top of each other. GridRes=71; minX=1.2206e+04; m...

mer än 4 år ago | 0

I am using isosurface to plot 3d density maps. I would like to plot multiple maps in the same figure, each one with a different color. How can I do so?

I have attached now a sample of the cell array 'A'. I called the sample cell array 'A1', so you would have to rename it as 'A'. ...

mer än 4 år ago | 0

Question

I am using isosurface to plot 3d density maps. I would like to plot multiple maps in the same figure, each one with a different color. How can I do so?

nBins=20; D=cell(size(A,1),size(A,2)); for i=1:size(A,1) for j=1:size(A,2) if ~isempty(A{i,j}) x=A{...

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

### 4

answersI would like to draw a 4d isosurfce plot, where the 4th dimension, is the density of each grid voxel, and I would like it to be thee isovalue

To make it more clear I attached the data, and added code to parse the file. % Plot density %% Parse file FileName='/Users/g...

ungefär 5 år ago | 0

Question

I would like to draw a 4d isosurfce plot, where the 4th dimension, is the density of each grid voxel, and I would like it to be thee isovalue

M is a 3d grid of points. Ro(t) is the density at grid point t. Ro3D is thee density at each pixel as a 3D matrix that corrwe...

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

### 1

answerI am using R2018b, and trying to use the function 'validtaestring', but it doesn't find a partial match. Has anyone tried that in this version?

Seems like validatestring only searches first n characters. Therefore I am using strfind. Thank you, GUy

mer än 5 år ago | 0

| accepted

Question

I am using R2018b, and trying to use the function 'validtaestring', but it doesn't find a partial match. Has anyone tried that in this version?

STR2={'AA_UCECC'}; str='UCE'; validatestring(str,STR2) Expected input to match one of these values: 'AA_UCECC' The in...

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

### 2

answersHow do I transform HCL to RGB colormap?

Hi all, Sorry, already answered myself. I am using this great function, and specific for me (CIELCH->RGB) https://www.math...

mer än 6 år ago | 1

Question

How do I transform HCL to RGB colormap?

Hi, I'd like to write a script to generate HCL colormap, and then transform it to RGB. Can anyone help with the transformatio...

mer än 6 år ago | 2 answers | 0

### 2

answersQuestion

setenv not working properly?

Hi, setenv and getenv used to work nicely for me, and enabled me to call other scripts using the unix command. recently it st...

nästan 7 år ago | 1 answer | 0

### 1

answerQuestion

Calling bowtie2 from matlab

I am trying to run bowtie2 from matlab: [a,b]=unix('bowtie2 -h') the output is: a =127 b='bin/bash not such command' so I c...

nästan 7 år ago | 1 answer | 0

### 1

answerQuestion

I am using pdist, and although embracing the vector approach for reduced memory consumption, the size of the vector exceeds matlab size array preference. Any ideas how to tackle this problem?

Localizations=[fluidicsSeq{1,fcyc}.x,fluidicsSeq{1,fcyc}.y,fluidicsSeq{1,fcyc}.z]; D = pdist(Localizations);

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

### 1

answerQuestion

I have a structure within a structure (a nested structure), and am trying to add a field to that structure, what should I write?

s.Field.(FieldName)=zeros(1,1); Doesn't work...

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

### 1

answerQuestion

How do I plot a temporary variable in a parfor loop?

Hi, I'm trying to make a surf plot with a parfor loop: figure(); hold on view(3) [x,y,z]=sphere; h=waitbar(...

mer än 7 år ago | 2 answers | 0

### 2

answersQuestion

How to blur a figure without blurring the axis?

Hi, I'm trying to add a blur (for instance with imfilter) to a 3D scatter plot (i.e. scatter3). To do so, I save the figure a...

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

### 1

answerQuestion

While loops is not responding

I wrote the following while loop, but when the if statement is answered, nothing happens. while 1 k=StartToe+1;...

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