Community Profile

photo

Jonas


Last seen: 8 dagar ago Active since 2020

Followers: 0   Following: 0

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

Statistics

All
  • 12 Month Streak
  • Knowledgeable Level 5
  • Pro
  • Thankful Level 3
  • Revival Level 2
  • First Answer
  • First Submission

View badges

Feeds

View by

Answered
How to plot this in MATLAB?
this could work theta = linspace (-pi/4,pi/4); x = 0.5*cos(theta).*sqrt(2.*cos(2.*theta)); y = 0.5*sin(theta).*sqrt(2.*cos(2....

14 dagar ago | 1

| accepted

Answered
How do I count the number of times my graph crosses two separate lines?
maybe too caomplicated, but this can work: data=[1:10 9:-1:1 2:10 9:-1:1 2:10]; % row vector to not get problems with num2str...

16 dagar ago | 0

Answered
Running excel VBA script via Matlab yields different chart position
this seemed to be an issue maybe related to the graphics card(s) or the excel application itself. The workaround for me was to s...

29 dagar ago | 0

| accepted

Answered
How to calculate the angle between two 3D vectors?
look here: https://de.mathworks.com/matlabcentral/answers/328240-calculate-the-3d-angle-between-two-vectors P1=[78,47,88]-[128...

ungefär en månad ago | 0

Answered
Reference to non-existent field 'folder'.
if there are no .nc files in the current directory, then files = dir('*.nc'); will be empty, and as consequence files(k) wi...

ungefär en månad ago | 0

Answered
How to have smithPlot with outer area with white colour?
weird function. i never used it before. but setting the Figure color before plotting with the smithplot seems to use the backgro...

ungefär 2 månader ago | 2

| accepted

Answered
How to get a set aspect ratio of 4:3 on a figure?
you could use pbaspect on each subplot figure; ax1=subplot(2,1,1); plot(rand(10,1)); ax2=subplot(2,1,2); plot(rand(100,1));...

ungefär 2 månader ago | 0

Answered
How to normalize a signal for each half cycle?
you could normalize by using a moving max window with size a bit bigger than half of one cycle: f=10; fs=100; t=0:1/fs:2;...

ungefär 2 månader ago | 0

Answered
How do I make it so my Plot keeps the same colours
for me this looks like an error that has nothing to do with the disableDefaultInteraction using % plot(app.LiveAxes, app.T...

ungefär 2 månader ago | 1

| accepted

Answered
Minimale en maximale data uit de matrix filteren
what about something like that: mat=[7 8 9 10 11 12 13; 1 2 4 5 8 2 12; 3 6 10 15 1 6 8]; colsToEdit=[1 3 7]; ...

ungefär 2 månader ago | 0

Question


Running excel VBA script via Matlab yields different chart position
dear community, I am trying to run a VBA script in excel using Matlab. Running in Excel, the created chart is positioned 2 colu...

ungefär 2 månader ago | 1 answer | 0

1

answer

Answered
Problems in recognising text with OCR from clear logical array
i guess it is just a mishandling of the automatic mode recognition: I=imread('testOCR.png'); I=rgb2gray(I); imshow(I); c=ocr...

3 månader ago | 0

| accepted

Answered
paralelise nested for loop with skipped indexes
Yes, there is a more efficient way to do this by utilizing a combination of vectorized operations and sparse matrix creation tec...

3 månader ago | 0

Question


Do I have to correct correlation values for two series originating from overlapped analysis?
Dear community, I want to have a look into the correlation of two parameters. Since those parameters originate from an overlapp...

3 månader ago | 2 answers | 0

2

answers

Answered
How to access App version number from inside the App
hi Steven, do you have powershell available (are you on windows)? then have a try with the attached m file and the prj file fo...

5 månader ago | 0

| accepted

Question


how to use ranova with repeated repeated measurements
dear community, I have an experiment where 12 subjects were measured during 2 tasks and during each task, a certain value was m...

10 månader ago | 0 answers | 0

0

answers

Question


uicontrol does not allow 'remove' as String during component creation
Dear community, are there reserved keywords for the text-style uicontrol? I could not find a list for that but I noticed that I...

10 månader ago | 1 answer | 0

1

answer

Answered
Period Length of the random numbers generated by rand() and randn()
don't confuse yourself, random number do not have a period length, but what you actually mean may be the rate e.g. after which a...

12 månader ago | 1

Question


Plot position in uiaxes not precise?
Dear community, - Edit below - I tried to plot a cross on an image placed into a uiaxes in a uifigure and i noticed, that the ...

12 månader ago | 0 answers | 0

0

answers

Answered
how to: multiple choises in if-function
looks good, but you could increase readability e.g. by using the ismember function alphabet = ["A" "B" "C" "D" "E" "F" "G" "H" ...

ungefär ett år ago | 2

Answered
How to make a Subplots using set(gca,'position') command?
you could create the axes by yourself and set the positioning as you did figure('Color',[0.9 0.9 0.9]); % create figure and use...

ungefär ett år ago | 0

| accepted

Answered
automatic refresh webread data
create a timer object, use a method for repeated execution and add the callback EDIT: e.g. function doStuff() intervalInS=...

ungefär ett år ago | 0

Answered
ListBox MultiSelect simulate always with Ctrl modifier?
I tried to circumvent the ctrl modofier in such a way, that I look into the event's previous value and delete/save as necessary....

ungefär ett år ago | 0

| accepted

Question


ListBox MultiSelect simulate always with Ctrl modifier?
dear community, can someone check the ListBox MultiSelect Example from the documentation for me? It does not work for me, I can...

ungefär ett år ago | 1 answer | 0

1

answer

Answered
I need help plotting points with * symbol at intervals equal to Ts = 1/fs = 1/7s (Here is my code)?
to plot with * symbol, add it to the plot command, e.g. plot(1:10,rand(10,1),'*') if you still need a line, add a line style: ...

ungefär ett år ago | 0

Answered
How to compress 32 bit bmp images to 8 bit bmp?
you can stretch and compress it on your own, just as you want im=imread('new.png'); im=rgb2gray(im); class(im) imshow(im); ...

ungefär ett år ago | 0

| accepted

Answered
How do I find the centre of an image?
you can use regionprops for that and let the function return the centroid. This may be the cetner you are searching for. If you...

ungefär ett år ago | 0

Answered
x(t) = -u(t-3)+2u(t+1)-2u(t-1)+u(t-3)
please check your given equation, the last and first term cancel out each other. Nevertheless, i kept both of them in the code b...

ungefär ett år ago | 0

Answered
How to capture whole app.UIFigure with exportapp?
you could try to temporarly increase the figure size, export it and restore old behavior %% create ui figure with three but...

ungefär ett år ago | 0

Answered
Index exceeds the number of array elements. Index must not exceed 1.
you can initialize your array before the loop a1=0.7;a2=0.1; omega1=20;omega2=40; G=10;C12=0;C21=0.003; dt=0.01; %step siz...

ungefär ett år ago | 0

Load more