Community Profile

photo

Jonas


Last seen: Today Active since 2020

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

Statistics

All
  • Thankful Level 3
  • 3 Month Streak
  • Revival Level 2
  • Knowledgeable Level 4
  • First Answer
  • First Submission

View badges

Content Feed

View by

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

ungefär 11 timmar ago | 0

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

ungefär 13 timmar ago | 0

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

2 dagar ago | 1

| accepted

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

4 dagar ago | 0

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

5 dagar ago | 0

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

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

6 dagar ago | 3 answers | 0

3

answers

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

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

7 dagar ago | 1 answer | 0

1

answer

Answered
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

7 dagar ago | 1

| accepted

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

8 dagar ago | 0

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

9 dagar ago | 0

| accepted

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

15 dagar ago | 0

| accepted

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

20 dagar ago | 0

| accepted

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

ungefär en månad ago | 0

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

ungefär en månad 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...

ungefär en månad ago | 1 answer | 0

1

answer

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

ungefär en månad ago | 0

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

ungefär en månad 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...

ungefär en månad ago | 0 answers | 0

0

answers

Answered
How to write 10^(-6) in xlabel?
you need { } around an exponent which is more than one character e g. xlabel('$\times 10^{-6}$','Interpreter','latex')

ungefär en månad ago | 0

| accepted

Answered
find the delay between two signals
use xcorr(sig1,sig2), and use the max value of xcorr. the corresponding delay can be found at the corresponding value in the lag...

ungefär 2 månader ago | 1

| accepted

Answered
plotting title with multiple strings on one line
this works for me title("abc\_def.h5" + " and " + "ghi\_jkl.h5"); a concatenated string in one line

ungefär 2 månader ago | 0

Answered
How to rename a flash drive using matlab?
this is possible via windows command line. You can access the windows command line via matlab using the system() command sy...

ungefär 2 månader ago | 1

| accepted

Answered
Hi, can you show me how I could Extract the third and fourth elements of the cell array M?
how do you count in the matrix? M{[3 4]} gives you the content of cell 3 and 4

ungefär 2 månader ago | 0

Answered
How to remove duplicate x-values and rearrange the y-values?
use yourMat=[ [4; 1; 1; 2; 3; 3; 5; 10 ], rand(8,4)]; [~,index]=unique(yourMat(:,1),'stable'); % get unique values from the fi...

ungefär 2 månader ago | 0

Answered
How do I extract data from a uicontrol edit field within an app?
does this work better for you: d = dialog('Position',[710 390 500 225],'Name','Team Name'); global team; team=''; txt = ...

ungefär 2 månader ago | 0

Answered
Why atteunation of the cut-off frequency is 6dB in MATLAB filter Designer
sounds like you have a filter ehich has a attenuation slope of 6dB/octave (doubling of frequency). Assuming you want to keep the...

ungefär 2 månader ago | 0

Answered
mirroring a magnitude response of a filter from -1 to 1
use plot([-w(end:-1:2) w],abs([h1(end:-1:2); h1])) i mirror only down to index 2 because index 1 is the 0 Hz component, ...

ungefär 2 månader ago | 1

| accepted

Answered
Running into error when using pwelch for FFT
[ sensor_spectrum, freq] = pwelch(samples,w,NOVERLAP,NFFT,Fs); should be [sensor_spectrum, freq] = pwelch(snips,w,N...

ungefär 2 månader ago | 0

Load more