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

3 days ago | 1

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

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

5 days 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

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

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

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

8 days 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, ...

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

9 days ago | 0

Answered
Need help with generating an echo for an Audio signal
just append zeros to the original signal, prepend the same amount to a copy of your original to generate the echo and add them u...

9 days ago | 0

Answered
Problem Creating Structure Field with For Loop
struct are indexed with round brackets, after that use {} if the structure field file_name_string shall be a cell for j = 1...

9 days ago | 0

| accepted

Answered
How can I know y value after smoothing data function?
you can use feval() to evaluate your fitobject called 'smoothed' in your case. see also https://de.mathworks.com/help/curve...

9 days ago | 0

| accepted

Answered
Vertical Alignment error in textbox
you forgot the , (the comma) behind 'none' then the code works for me

9 days ago | 0

| accepted

Answered
Plot different Y values for certain range of X
you can just calculate the values before plotting Y(X>=5 & X<=10)=Y(X>=5 & X<=10)+20;

9 days ago | 0

Answered
How to specify frequency range in new cwt function?
to specifythe frequency range use cwt(yourSignal,signalFs,'FrequencyLimits',[10 100]*10^3) however, you cannot specify t...

10 days ago | 0

| accepted

Answered
How do I hyphen a word using LaTex?
as far as I am aware, there is no automatic hyphenation in the labels, if you want to break the label, use e.g. xlabel({'m...

10 days ago | 0

Answered
How to find the product of only some of the elements in a vector or matrix in MATLAB
are you looking for prod(yourVector(120:160))

12 days ago | 0

| accepted

Answered
Showing legend even if data is not there
I am not 100% sure what you want to do: if I understood correctly, you want to display a legend also for data which was not plot...

12 days ago | 1

Question


Scientific comparison of type of sums square error (type I, II, III)
dear community, does someone have a paper (or at least a book) to her/his hands, which disusses the types of sum square error (...

12 days ago | 0 answers | 0

0

answers

Answered
Fourier transformation of a file is shifting the data to the left.
without having matlab available right now, you created your t with a sampling frequency with 1000 samples per second, in the ana...

12 days ago | 1

| accepted

Answered
Array indices must be positive integers or logical values. Midpoint Method help
matlab's indexing starts with 1 and not with 0, the first element of y is y(1). maybe you wanted to write y(t==0)=0, which is th...

13 days ago | 0

| accepted

Answered
How to access images(like Image1,Image2...)from a folder and pass through a code in Matlab?
the path creation is a mixture of multiple principles, one possibility is imread(['C:\Users\User\Desktop\FinalProject\Image...

13 days ago | 1

| accepted

Answered
Error plotting the spectrum with using user fucntion definition (Error using matlab.graphics.axis.Axes/set Invalid parameter/value pair argument)
the problem is the part set(axes1,'ContextMenu'), which is not a valid Name-Value pair, leave out 'ContextMenu', since it appea...

13 days ago | 1

| accepted

Answered
How to disable uicontrol 'mouseless' interaction
for better visiblity here the last state of our discussion. thanks @Jan! long question, short answer: the java objects have a...

13 days ago | 0

Answered
how can i get mean frequency in special rang?
use mean(M2(f>0.002 & f<0.55))

14 days ago | 0

Answered
Finding column index of the first instance of 1
use the find() function together with a loop over each row

14 days ago | 0

Answered
Surf plot and colorbar are overlapping
your colorbar c has also a Position property, read it once to get an idea if the current magnitude of numbers and change it in s...

14 days ago | 0

Question


Measuring the absolute deviation from a group median with median removal
dear community, I have multiple groups of numbers, each group has 3, 4 or 5 numbers. I want to analyze the absolute deviation o...

18 days ago | 0 answers | 0

0

answers

Answered
Error when opening property inspector in 2022a
from the comments: i tried also another figure and there the error persists (or persisted) what ever, after restarting matlab,...

19 days ago | 0

| accepted

Question


Error when opening property inspector in 2022a
dear community, when i open my property inspector from the menue of a figure, i get the following error Dot indexing is ...

19 days ago | 1 answer | 0

1

answer

Load more