Community Profile

photo

sani


Last seen: 18 days ago
26 total contributions since 2020

sani's Badges

  • Thankful Level 2

View details...

Contributions in
View by

Question


is there's a way to automatically find peaks in an histogram?
Hello, I have a script to analyze data from a detector (the data is not necessarily repeated). right now I have to find the pea...

2 months ago | 1 answer | 0

1

answer

Question


how to find FWHM in histogram
how can I evaluate the FWHM in a histogram with 2 peaks or more? I couldn'f find a built-in function... thanks!

2 months ago | 1 answer | 0

1

answer

Question


naming figure window in a for loop
Hello everyone, I want to create figures for my data by using a for loop. when I'm trying to edit the figure window's name I'...

2 months ago | 1 answer | 0

1

answer

Question


fill legend rectangles with color
hello, I'd like to fill the legend rectangles in color (not just the frame as in the picture), how it can be done? thanks!

2 months ago | 1 answer | 0

1

answer

Question


Y axis in scientific form
Hello, I want to plot Y axis in the scientific form and not in engineering form (es 1E4 and not 10^4), si it possible?

2 months ago | 2 answers | 0

2

answers

Question


how can I present histogram as line plot
Hi, I want to present histogram as the picture added, does anyone knows what is the commend?

3 months ago | 1 answer | 0

1

answer

Question


overlay 2 histograms one over the other
Hello, I'm ploting my data as histograms (there are 2 data sets, one is the original and the other is the the same set that bee...

3 months ago | 0 answers | 0

0

answers

Question


problem to concatenate table due to "cell and non cell" error
Hello, I have a script that reads 2 TXT files to two tables (one is significantly larger than the other). then I add both table...

3 months ago | 1 answer | 0

1

answer

Question


how can I create tall table of ones?
Hi, I need to create a tall table with one column (it is important to be a table since I'd like to joint it to a table) Is it ...

3 months ago | 0 answers | 0

0

answers

Question


how to add a column to a tall table?
Hi, I want to add a column of "1" to a tall table, but getting this error : "Indexed assignments of the form T(...,...) = B ar...

3 months ago | 0 answers | 0

0

answers

Question


out of memory while using tables
Hello, I tried to read to a table file of 25 GB. I'm getting out of memory error (I have 16 GB ram) I tried to allocate virtua...

3 months ago | 1 answer | 0

1

answer

Question


out of memory error while using readtable function
Hello, I'm running files of 25 gigs, but have 16gig RAM in my PC. when I'm reading a file to a table I get this error "Error u...

3 months ago | 0 answers | 0

0

answers

Answered
present 2 histograms in the same X axis values
I'll try to explain myself better. I have a detector that products text file of channels, from that data I'd like to create cou...

4 months ago | 0

Question


present 2 histograms in the same X axis values
Hi, I'm trying to plot 2 histograms in the same x axis. they suppose to have common peaks and I'd like to present them at the ...

5 months ago | 1 answer | 0

1

answer

Question


changing x values when using histcounts
Hi all I'm trying present a spectrum in matlab, and I want to calibrate the x axis to the correct values (they losts when I u...

5 months ago | 0 answers | 0

0

answers

Question


plot y Vs. X in heat-map plot
Hi all, How can I create a scattered heat-map? I tried to find an already build function but I couldnt make it work for some re...

5 months ago | 2 answers | 0

2

answers

Question


how to call prepared function (m file)
Hi, I downloaded a function a function and I want to use it in my script. I tried to call it by using 'load' and 'import' but g...

5 months ago | 1 answer | 0

1

answer

Question


plot shifting while using histcounts
Hi, I'm trying to compare 2 spectrums but I get this shifting in the X-axis (the blue spectrum is processed data out the red on...

5 months ago | 1 answer | 0

1

answer

Question


ismembertol() for one direction tolerance and for one match at a time
Hi all, I'm using the ISMEMBERTOL() function to match events from 2 tables (matches by time), but the function do double side m...

6 months ago | 0 answers | 0

0

answers

Question


how to plot a scattered heat map
Hi, I have 2 vectors from a table, and I'd like to create chart similar to the one in the picture. I didn't found any matlab of...

6 months ago | 1 answer | 0

1

answer

Question


slow for and while loops
Hi all, I'm running those lines that suppose to run on two tables (T2 and T1) and check if the difference in the first column is...

7 months ago | 1 answer | 0

1

answer

Question


declaring a new table
Hi, I would like to save data (that answer some conditions) from 2 different tables (T1, T2) to a new table (T3). I tried to ...

7 months ago | 2 answers | 0

2

answers

Question


help with inefficient code
Hi, I have those lines in my script that they purpuse is to fix jumps in a clock (it runs on a table). for instance this is the ...

7 months ago | 1 answer | 0

1

answer

Answered
VERY slow for loop
thanks! it reduced to 0.3 sec, amazing!

7 months ago | 0

Question


VERY slow for loop
I have a very slow for loop in my script, it meant to sort a column in a text file (about 500,000 rows) and remove lines with ne...

7 months ago | 2 answers | 0

2

answers

Question


table less than operator
hi, I'm having this error : Undefined operator '<' for input arguments of type 'table'. how can I write the operator less than...

7 months ago | 1 answer | 0

1

answer