# Jonas

**Programming Languages:**

C++, Java, MATLAB

**Spoken Languages:**

English, French, German

**Statistics**

RANK**192**

of 258.068

REPUTATION**453**

CONTRIBUTIONS

**10** Questions

**191** Answers

ANSWER ACCEPTANCE **
60.0%
**

VOTES RECEIVED**52**

RANK**17.269** of 17.783

REPUTATION**0**

AVERAGE RATING**1.00**

CONTRIBUTIONS**2** Files

DOWNLOADS **2**

ALL TIME DOWNLOADS**5**

RANK

of 110.245

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

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

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

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

5 Tage 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')

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

11 Tage 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

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

13 Tage 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

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

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

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

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

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

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

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

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

17 Tage ago | 0

| accepted

Vertical Alignment error in textbox

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

17 Tage 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;

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

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

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

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

20 Tage 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 (...

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

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

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

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

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

21 Tage ago | 0

how can i get mean frequency in special rang?

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

22 Tage ago | 0

Finding column index of the first instance of 1

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

22 Tage ago | 0