Community Profile

photo

Guy Nir


Harvard medical School

Last seen: oltre 3 anni fa Attivo dal 2016

Statistiche

  • Thankful Level 3

Visualizza badge

Content Feed

Visto da

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

oltre 3 anni fa | 0

| accettato

Domanda


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

oltre 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 4 anni fa | 1 risposta | 0

1

risposta

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

oltre 4 anni fa | 0

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

oltre 4 anni fa | 0

Domanda


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

oltre 4 anni fa | 4 risposte | 0

4

risposte

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

quasi 5 anni fa | 0

Domanda


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

quasi 5 anni fa | 1 risposta | 0

1

risposta

Risposto
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

oltre 5 anni fa | 0

| accettato

Domanda


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

oltre 5 anni fa | 2 risposte | 0

2

risposte

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

circa 6 anni fa | 1

Domanda


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

circa 6 anni fa | 2 risposte | 0

2

risposte

Domanda


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

oltre 6 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 6 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 7 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 7 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 7 anni fa | 2 risposte | 0

2

risposte

Domanda


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

oltre 7 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 7 anni fa | 0 risposte | 0

0

risposte