# Jonas

**Programming Languages:**

C++, Java, MATLAB

**Spoken Languages:**

English, French, German

**Statistics**

RANK**193**

of 257 819

REPUTATION**449**

CONTRIBUTIONS

**10** Questions

**189** Answers

ANSWER ACCEPTANCE **
60.0%
**

VOTES RECEIVED**52**

RANK**17 256** of 17 766

REPUTATION**0**

AVERAGE RATING**1.00**

CONTRIBUTIONS**2** Files

DOWNLOADS **2**

ALL TIME DOWNLOADS**5**

RANK

of 110 048

CONTRIBUTIONS

**0** Problems

**0** Solutions

SCORE**0**

NUMBER OF BADGES**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

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 11 timmar ago | 0 answers | 0

### 0

answersHow 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')

2 dagar ago | 0

| accepted

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

6 dagar ago | 1

| accepted

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

6 dagar ago | 0

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

8 dagar ago | 1

| accepted

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

10 dagar ago | 0

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

10 dagar ago | 0

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

10 dagar ago | 0

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

11 dagar ago | 0

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

12 dagar ago | 1

| accepted

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

12 dagar ago | 0

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

12 dagar ago | 0

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

12 dagar ago | 0

| accepted

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

12 dagar ago | 0

| accepted

Vertical Alignment error in textbox

you forgot the , (the comma) behind 'none' then the code works for me

12 dagar ago | 0

| accepted

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;

12 dagar ago | 0

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

13 dagar ago | 0

| accepted

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

13 dagar ago | 0

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

15 dagar ago | 0

| accepted

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

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

15 dagar ago | 0 answers | 0

### 0

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

16 dagar ago | 1

| accepted

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

16 dagar ago | 0

| accepted

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

16 dagar ago | 1

| accepted

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

16 dagar ago | 1

| accepted

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

16 dagar ago | 0

how can i get mean frequency in special rang?

use mean(M2(f>0.002 & f<0.55))

17 dagar ago | 0

Finding column index of the first instance of 1

use the find() function together with a loop over each row

17 dagar ago | 0

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

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

21 dagar ago | 0 answers | 0