Community Profile # Guy Nir

### Harvard medical School

Last seen: nästan 3 år ago Active since 2016

#### Statistics

• #### Content Feed

View by

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

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

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

### 1

Question

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

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

### 1

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?
% Sorry, please use this updated script, otherwise it will plot them all on top of each other. GridRes=71; minX=1.2206e+04; m...

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

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

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

### 4

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
To make it more clear I attached the data, and added code to parse the file. % Plot density %% Parse file FileName='/Users/g...

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

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

### 1

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?
Seems like validatestring only searches first n characters. Therefore I am using strfind. Thank you, GUy

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

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

### 2

How 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 5 å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 5 år ago | 2 answers | 0

### 2

Question

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

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

### 1

Question

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

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

### 1

Question

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);

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

### 1

Question

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

### 1

Question

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

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

### 2

Question

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

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