photo

Guy Nir


Harvard medical School

Last seen: 4 years ago Active since 2016

Followers: 0   Following: 0

Message

Statistics

  • Thankful Level 3

View badges

Feeds

View by

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

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

4 years ago | 1 answer | 0

1

answer

Question


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

4 years ago | 1 answer | 0

1

answer

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

5 years ago | 0

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

5 years 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{...

5 years ago | 4 answers | 0

4

answers

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

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

5 years ago | 1 answer | 0

1

answer

Answered
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

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

6 years ago | 2 answers | 0

2

answers

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

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

6 years ago | 2 answers | 0

2

answers

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

7 years ago | 1 answer | 0

1

answer

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

7 years ago | 1 answer | 0

1

answer

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

7 years ago | 1 answer | 0

1

answer

1

answer

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

8 years ago | 2 answers | 0

2

answers

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

8 years ago | 1 answer | 0

1

answer

Question


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

8 years ago | 0 answers | 0

0

answers