Community Profile # Jonas

Last seen: Today Active since 2020

Programming Languages:
C++, Java, MATLAB
Spoken Languages:
English, French, German

#### Statistics

All
• • • • • • #### Content Feed

View by

Resampling vector to have homogeneous length between trials
you can use the interp1() function to produce an equal number of samples per jump

32 Minuten ago | 0

how to clean data by deleting [0 0]
use rowsToDelete=~any(AB,2); or rowsToDelete=all(~AB,2); AB(rowsToDelete,:)=[]; or rowsToKeep=any(AB,2); AB=AB(rowsToKeep...

etwa 23 Stunden ago | 0

| accepted

Finding the max value in 1st column of values based on a range in the 2nd column of values
max(yourMat( yourMat(:,2)>0.09 && yourMat(:,2)<0.11 ,1)) for the first range and so on?

ein Tag ago | 0

Find rising and falling point
you can identify those points using a threshold for the differential signal, something like find( abs(diff(x)) > someThreshol...

ein Tag ago | 1

How can I get the mean data from under the graphs?
what about a general threshold like 10 here? mean(all_data(all_data>10))

ein Tag ago | 0

How can I study Autocorrelation function of common inputs?
you can simply generate your own vectors in matlab and do some studying e.g. rectPulse = [zeros(1,10) ones(1,15) zeros(1,10)];...

ein Tag ago | 0

Submitted

partially logarithmic plots
This function allows to plot with x or y axis divided into a logarithmic and linear part. Submitted

MRAW reader GUI with image enhacement and sub pixel tracking
Loads Photron mraw files, allows fluent preview, image-wise spectral filtering, binomial filtering and temporal median filtering... I need to change a graphic without using unwrap
you can unwrap manually. if you have data x and y myWrapThr=-150; dy=diff(y); dy(dy<myWrapThr)=dy(dy<myWrapT...

2 Tage ago | 0

define color range in scatter plot
i do not fully understand, you want to use the pallett for split to 0 to 3000, but at a certain threshold you want to use black ...

2 Tage ago | 0

| accepted

Fourier Transform of Seismic Waves
subtract the mean before fft to improve visibility of frequencies or use dB view by calculating 20*log10(P1) explanation: the...

3 Tage ago | 0

Plotted image is clear but saved image is blurry- why?
use png instead of jpg, then no compression is applied and the quality will stay good there ate several methods whichbaffect ...

3 Tage ago | 0

Why do certain images require imshow(imagename,[]). whereas others don't?
the answer loes within the variable class. the original inage is uint8 which can have values between 0 and 255, this means imsho...

5 Tage ago | 1

| accepted

Joining two columns and exporting to excel
use mat2cell before joining them! [mat2cell(A) mat2cell(B)]

6 Tage ago | 0

Double condition to find index
myData=...; fs=2000; minLength=ceil(fs*0.05); highVals=myData>20; searchFor=conv(highVals,ones(1,minLength),'s...

7 Tage ago | 0

Extracting multiple row values (with unequal range) in a column separately
dat=readmatrix('saf_wind.csv'); dat(dat==9999)=[]; whereIsNan=find(isnan(dat)); yourMeans=zeros(1,numel(whereIsNan)+1); for ...

8 Tage ago | 1

Question

Speeding up fread for random position in big file
dear community, at the moment i need to read one or multiple image(s) from a big data file. since I build a live data viewer an...

8 Tage ago | 3 answers | 0

### 3

I want to replace the hyphens with en dashes in a plot axes.
i suggest you have a look into the yticklabels() and xticklabels() and do some replacement of '-' with the en dash char(0x2013)....

9 Tage ago | 0

| accepted

Question

Results of math with integer
Dear community, I recently had to work with uint8 and did some simple calculations over it. I tought using integer math tells t...

9 Tage ago | 1 answer | 0

### 1

Al estar trabajando la grafica no aparece, se abre la ventana pero solo aparece la cuadricula sin ningun tipo de lineas
use RC./V instead of RC/V to divide element by element

10 Tage ago | 1

| accepted

Unit Step Funtion Without using heaviside function
you could go over the integration of the delta function, which is the heaviside function: t=-5:5; ds=[0 1 1 1 1 0 -1 -1 ...

10 Tage ago | 0

Frequency problem between reality and analysis
the nyquist theorem tells that you need to sample a wave at least two times to reproduce it without errors. Or in other words, i...

11 Tage ago | 0

| accepted

How to code difference quotients in matlab?
elementwise differences of consecutive elements can be calculated using diff() command

18 Tage ago | 0

| accepted

Rename Struct Fields Old Function
the question is not if your fieldnames are scalar but if the struct is scalar. you will not have any problems if the atruct has ...

23 Tage ago | 0

| accepted

direction of Y Axis is changing
calling set(gca,'XDir','normal'); should be enough

etwa ein Monat ago | 0

what (:, :, :) syntax does?
u=round(ginput(2)); gets two points with rounded x and y values. the values are stored as [x1 y1; x2 y2] it follows that...

etwa ein Monat ago | 0

| accepted

Question

Is there an easy way to remove points from a signal which can be restored by interpolation
Dear community, I gues there is already a solutio nout there, but I am not finding the right key wordsw to google it myself: I...

etwa ein Monat ago | 1 answer | 0

### 1

How to create random matrix with specified step in interval [a, b]
generate a matrix with random integer values using randi. The spacing will be 1, you can then multiply the values by 3 to get sp...

etwa ein Monat ago | 0

Create a new column in the table with conditional values ​​of 1 or 0
you could use LLT.newVar=LLT{:,6}<=5 or LLT.newVar=LLT.Odstub_s_<=5; but i cannot see the whole variable name ...

etwa ein Monat ago | 0

| accepted

Question

Matlab system command produces output on matlab command line
Dear community, I am using Matlab's system() command to call an external Program (Praat) to run a (Praat) script. I didn't want...

etwa ein Monat ago | 0 answers | 0