Community Profile

photo

Jonas


Last seen: 3 días hace Con actividad desde 2020

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

Statistics

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

Ver insignias

Content Feed

Ver por

Respondida
How to interpolate a set of data wher the X size is different for the Y size
you can usw meshgrid to prepare your xq and yq: Y=9:13;X=1:2:5;Z=rand(5,3); [xq,yq]=meshgrid(1:0.5:5,9:0.5:13); inter...

7 días hace | 0

Respondida
Find number in vector
find(A>3,1)

8 días hace | 1

| aceptada

Pregunta


Reading uint8 from raw data takes much more RAM then expected
I am trying to read some MB of data from big files of several GB. I am using the follwing code: fid=fopen(filename,'r'); fseek...

11 días hace | 1 respuesta | 0

1

respuesta

Respondida
Help in 2D plot of coefficients
why not use normal plot command? RealCoefficient= [0.0723, -11.0000, 0.001, 0.0011, 0.0012, 0.0013, 0.0014, 0.0015, 0.0016, 0.0...

18 días hace | 0

| aceptada

Pregunta


audioDeviceReader: error when choosing ASIO driver for input mic
Dear community, I have an error when I want to choose the Device for the audio device reader interactively. Altough the String ...

18 días hace | 0 respuestas | 0

0

respuestas

Respondida
open software and run script via command line
without looking into the detail, you have to chain commands in the system commands using a & sign also: use the output argument...

alrededor de 1 mes hace | 1

Respondida
How to put subscript in uilabel text and can I specify location on same line?
for subscript, use other text interpreters, e.g. tex uilabel("Text","K_a","HorizontalAlignment","center",'Interpreter','tex'); ...

alrededor de 1 mes hace | 1

| aceptada

Respondida
Smoothing curve plot with some data points
x = [-27.59;-32.36;-32.36;-24.99;-25.12;-32.62;-37.62;-42.62;-37.62;-37.62;-40.11;-40.11;-37.61;-33.36;-29.11;-27.11;-25.11;-20....

alrededor de 1 mes hace | 0

| aceptada

Respondida
Is it possible to use vertcat with dot notation?
if you just want to have all file names available, you could use { } e.g. in a cell array {filename.name} if you do not need ...

alrededor de 2 meses hace | 1

Respondida
Action on close of spectrumAnalyzer() object/windows
alright, I now got it. we can close and open the scope Window using show(scope) and hide(scope) und we can check if the scope wi...

alrededor de 2 meses hace | 0

| aceptada

Respondida
Action on close of spectrumAnalyzer() object/windows
my insight so far: I have seen, that a new Process is created, and the Window Name has the title "Spectrum Analyzer". we could ...

alrededor de 2 meses hace | 0

Respondida
How to plot two .fig file as subplots in a new figure window ?
here a kind of manual solution, adapted from the function given on file exchange: h(1) = openfig('fog.fig','invisible'); ax(1)...

alrededor de 2 meses hace | 0

| aceptada

Respondida
matrix per minute in plot per hour
you mean something like that? or do you want another format? plot((1:96)/4,rand(96,1)); xticks(0:3:24) xlim([0 24]); xlabel(...

alrededor de 2 meses hace | 0

| aceptada

Respondida
How to save a high resolution image in MTALB?
exportgraphics() is available since 2020a which release are you using?

alrededor de 2 meses hace | 0

| aceptada

Respondida
How do I make a specific range of numbers and increment?
use colon operator T=100:50:500

alrededor de 2 meses hace | 0

Respondida
Buffer around a value in a matrix.
A=[ 0 0 0 0 1 0 0 1 1 0 0 0 0 1 1 1 0 0 0 0 1 1 1 1 0 0 0 0 1 1 1 0 1 0 0 0 1 1 0 0]; B=imfilter(A,ones(3...

alrededor de 2 meses hace | 0

| aceptada

Respondida
efficient way of importing excel sheet
if you activate MultiSelect in uigetfile, you can select more than one file. The resulting variables are then cell arrays with t...

alrededor de 2 meses hace | 0

Pregunta


Action on close of spectrumAnalyzer() object/windows
Dear community, at the moment I am preparing for some real time processing on audio recordings. I want to end the inifinite rec...

alrededor de 2 meses hace | 2 respuestas | 0

2

respuestas

Respondida
How to sort a part of a given array?
just use indexing to reassign those numbers data=20:-1:1 data(1:5)=sort(data(1:5),'ascend')

alrededor de 2 meses hace | 0

Respondida
how to create different matrices?
you could split them into multiple 400x1 vectors by this data=rand(30000,1); data=reshape(data,400,1,[]); size(data) you can...

alrededor de 2 meses hace | 1

| aceptada

Respondida
Summing the values with looping
you could generate all values you asked for with a single expression. if you want the sum until a specific n, use cumsum() on th...

alrededor de 2 meses hace | 0

Respondida
How can I draw contour lines with a given excel Data sheet
you mean something like that? mtx=readmatrix('F_22_Project Data.xlsx','Range','D9:V32'); contour(0:20:360,0:20:460,mtx)

alrededor de 2 meses hace | 0

| aceptada

Respondida
i want to know the fitness
i guess you are seraching for the correlation of X and Y coordinates see corr() and corrplot()

alrededor de 2 meses hace | 0

Respondida
How do I plot grid points in a wedge-shaped volume?
you could add the third dimension like that: x=-6:6; [X,Y,Z]=meshgrid(x); r=5; phi=pi/2; % from [0,pi] theta=pi/4; % ...

2 meses hace | 0

Respondida
MATLAB 2022b removing spaces from strings in concatenation?
"For character array inputs, strcat removes trailing ASCII whitespace characters: space, tab, vertical tab, newline, carriage re...

2 meses hace | 1

| aceptada

Respondida
How can i find the Majoraxislength and Minoraxislength of each cell present in binary image ?
a call to regionprops should suffice: clear; im=imread("image.png"); im=rgb2gray(im); % to grayscale im=im~=0; % make bina...

2 meses hace | 0

| aceptada

Respondida
Name points on a plot based on their order
you could add the line text(ri(:,1),ri(:,2)+0.05,cellstr(num2str((1:size(ri,1))'))) or text(ri(:,1),ri(:,2)+0.05,strsplit(num...

2 meses hace | 0

| aceptada

Respondida
Traslate and Rotate a point cloud
if you have a matrix nx3, with each row being one set of point corrdinates you can translate first and rotate afterwards using s...

2 meses hace | 0

Respondida
Replacing special character 'É' to 'E'
looks like there are only manual solutions. Stackoverflow is your friend ;-) https://stackoverflow.com/a/60181033

2 meses hace | 0

| aceptada

Respondida
How to find the count of vertical lines in an image using Fourier Transform in MATLAB?
% create sample image imgLine=repmat([ones(1,5) zeros(1,20)],[1 10]); % shift it a bit to force broken (incomplete) lines i...

2 meses hace | 1

Cargar más