Community Profile

photo

Jonas


Last seen: Today
32 total contributions since 2020

Jonas's Badges

  • Thankful Level 1
  • Knowledgeable Level 2
  • First Answer
  • Revival Level 1
  • First Submission

View details...

Contributions in
View by

Answered
not enough input Arguments
you tried to call your function odDetect without an input argument although you need one. you have give the inage to the functio...

ongeveer 22 uur ago | 0

| accepted

Answered
linearly independent or linearly dependent.
you could use something like syms a b c; [sola,solb,solc]=solve(S{1}*a+S{2}*b+S{3}*c==v,a,b,c)

1 dag ago | 0

Answered
How do i turn a character array into a double cell
i think your actual problem is the way you check character arrays. for thise you have to use strcmp(chararray1,chararray2) inste...

1 dag ago | 0

| accepted

Answered
zero padding on several images
if you want to use padarray, then use something like currSize=size(currImg); paddedImg=padarray(currImg,(aimSize-currSiz...

3 dagen ago | 0

Answered
Find index where condition is true, or end of matrix
you could set the last entry to the condition you are searching for and then use your find function. this way at least one index...

5 dagen ago | 0

Answered
How to divide images from folder into 4x4 blocks
you could use mat2cell A = rand(256,256,3); % your matrix here N = 4*ones(1,64); B = mat2cell(A,N,N,3); adjusted f...

5 dagen ago | 0

Answered
Comparing the entries of matrix in pairs
i hope i understood you correctly, first index is row index, the pair is the pair of compared column index and the last value is...

7 dagen ago | 0

| accepted

Answered
How to Convert letters to underscore
which interpreter are you using? if you want to display an underscore eg with latex interpreter use '\_' instead of '_' .

8 dagen ago | 0

Answered
Create a script that will accept number of times user can input data. Identify if every input is either ODD or EVEN numbers. Count the number of ODD and EVEN numbers.
just use something like this: times=input('how many times') numbers=zeros(1,times); for nr=1:times numbers(nr)=input('g...

8 dagen ago | 0

Answered
How to solve aliasing affect in signal?
the error occurs already in the creation of the two signals. how should the lowpass know how exactly you produce your signals an...

8 dagen ago | 0

Answered
Help with Bootstrap functuon, bootfun variable
bootfun has to be empty using [ ]. then you just need the second output from bootfun [~,idx]=bootstrp(...) and idx contains n co...

9 dagen ago | 0

| accepted

Answered
How do I use matlab to plot a graph where the x,y axes do not intersect?
not elegant, but possible if i'm not mistaken: fig=figure; % amount of shift of x and y axis in normalized coordinates dx=0...

12 dagen ago | 0

| accepted

Answered
Splitting an array in non equally length sub-arrays according to a flag value contained in another array
so if your flag specifies the end of the current R1 sub part then you could write something like flaggedIdx= find(~cellfun('ise...

14 dagen ago | 0

Answered
How to reconstruct the original signal using the detail coefficients in the discrete wavelet transform?
yes, it is possible to reconstruct using only approximation coefficients or detail coefficient. have a look into appcoeff() or d...

15 dagen ago | 1

Answered
How to sort rows in a matrix of strings according to a specific char?
easily possible, A = ['1C3489' ; '2E1919' ; '0A8721' ; '8B1821']; sortrows(A,2) the chars can dirextly be interpreted as n...

15 dagen ago | 0

| accepted

Answered
How can I add a legend in the end of sublot ( on the bottom of sublot ) ?\
the asiest way is to use tiledlayout instead of subplot and then setting the legend position to 'south'. if you want or have to...

17 dagen ago | 0

Answered
print value of i if the logical statement is TRUE
if in disp(i) end

19 dagen ago | 0

| accepted

Answered
Display part of a legend
you can set the legend property 'AutoUpdate' to 'off' before you create the objects you dont want to see

19 dagen ago | 0

Answered
How to add an eguation into my plot?
you can use the annotation command. e.g. annotation('textbox',[0.1 0.1 0.1 0.1],'String','hello $\frac{2}{4} \alpha$ ','FitBoxT...

19 dagen ago | 0

Answered
I want to change the 2D graph by changing the configuration of Boxplot.
so here the way i went so far: i change just the properties of the image, at the moment the code changes the median line to mean...

19 dagen ago | 0

| accepted

Answered
Resize image ,but xy axis not start with 0.
what about img2(10:40,30:60)?

20 dagen ago | 0

Answered
2 Factor Anova with Repetitions
i would use anovan(data,{factor1,factor2}), it's in my opinion a bit easier to handle. data is a column vector of length N, fact...

20 dagen ago | 0

| accepted

Question


Why is there only one p-Value for the friedman test although it's a two way design
like already in the title: i was searching for something like the 2 way anova but without the normal distribution requirement. t...

20 dagen ago | 1 answer | 0

1

answer

Answered
Nothing shows up on plot?
your plot contains only one data point because days is 1 x 1 and MM is 1 x1. If you are interested the sequence of data you also...

21 dagen ago | 0

Answered
How to add the level to a sine tone?
the level of a sound is usually the root mean square of the amplitude values. going on from there db SPL is calculated as 20*log...

22 dagen ago | 0

Answered
How to add 'Location' as the name one of the legends in a plot?
no problem using a cell as input for the legend function: plot(1:3); hold on;plot(1:4); legend({'left','location'},'Location'...

22 dagen ago | 1

| accepted

Answered
Find the columns where a certain number is repeated consecutively
quick and dirty small example a=[ 1 1 1 0 1;... 0 1 1 0 1;... 0 0 1 1 1;... 0 1 1 1 1]; nrOfMinZerosPerCol=2; ...

22 dagen ago | 2

| accepted

Answered
Box Plot for Time (HH:MM:SS) data
i suggest to convert you time (Hour : Minute : Seconds) to seconds using [~, ~, ~, H, MN, S]=datevec('14:35:22','HH:MM:SS'); M...

22 dagen ago | 0

| accepted

Answered
The boxplot labels disappeared after I set the Ytick
i had a similar problem when I generated a boxplot with logarithmic y-axis in Matlab 2021b. Originally I wanted to set the y-tic...

22 dagen ago | 0

Question


Combining 3-way-ANOVA of stratified bootstrapped datasets
I've the following situation: i have a dataset which includes a head motion parameter for 16 different groups classified accord...

25 dagen ago | 0 answers | 0

0

answers

Load more