Community Profile

photo

Andreas Bernatzky


Hochschule Rosenheim

Last seen: 7 meses ago Active since 2018

Statistics

All
  • Revival Level 1
  • 3 Month Streak
  • Personal Best Downloads Level 2
  • GitHub Submissions Level 3
  • First Submission
  • Thankful Level 1
  • Knowledgeable Level 2
  • First Answer
  • Solver

View badges

Content Feed

View by

Answered
Dust simulation and electrode modeling using Matlab
Hey James, I had a look at this one: https://de.mathworks.com/matlabcentral/fileexchange/42288-calculating-electric-field-of-a...

12 meses ago | 0

Answered
How to randomly select 2 rows
This would be my solution: myMat = rand(10,50); [nRow,~] = size(myMat); randomRows = round((nRow - 1).*rand(2,1) + 1); % fr...

alrededor de 1 año ago | 1

Answered
How to create drag and drop in App Designer?
Hi this did the Job for me: https://de.mathworks.com/matlabcentral/fileexchange/69195-drag-and-drop-in-matlab-app-designer

alrededor de 1 año ago | 0

Answered
How to compute a vector using a for loop
Hi Timothy, I am not completely sure if I fully understand your question. Maybe you should post your post. But what you want...

más de 1 año ago | 0

Answered
Adding Color to Text in Rows in UI Table in GUI
Hi if you have an handle h to the object you can try this: set(h, 'Color',[1, 0 ,0], 'FontSize', 20)

más de 1 año ago | 0

Answered
How do I derive a linear equation for wind speed between 13km/h –50km/h using “if-else”?
you have to index Wind_Year with your increment i. For example Wind_Year(i) but heavily depends on what type of container your ...

más de 1 año ago | 0

Question


Extract data from nyquist plot
Hello, I am trying to extract the data of a nyquist plot and plot it into another figure (I have to do this for another API nor...

más de 1 año ago | 1 answer | 0

1

answer

Answered
why do I get NaN result
Hey Nazil, I can just remember the RSA really roughly but I did some researches yesterday evening and I read at several points ...

más de 1 año ago | 1

Answered
Saving figures into structure?
Hey Jared, data = rand(10,2); myStruct.structFig = plot(data); myStruct.structData = data; m = figure(2); % does not ...

más de 1 año ago | 0

| accepted

Answered
generating a 3d surface from from [x,y,z,c] matrix
Hey Abdulelah, I have made some approaches with density3D from: https://github.com/TypHo22/2D_3D-Density-Histogram should do ...

más de 1 año ago | 0

Question


Problem with compiling SimulinkCompiler example
Hi everyone I am trying to compile the Simulinkcompiler example: https://de.mathworks.com/help/releases/R2020a/slcompiler/ug/de...

más de 1 año ago | 0 answers | 0

0

answers

Answered
Get average water flow for every 15min between 1am and 5am of each day
Hey Charles, the easiest approach in my opinion is the following. keep in mind this is pseudoCode (have no matlab at the momen...

más de 1 año ago | 0

Answered
How to change a line in .txt file by importing a name, from a loop
should finally do the work now: opts = detectImportOptions('test.csv'); opts.DataLines(1) = 1; %begin in first row opts.Data...

más de 1 año ago | 0

Answered
Plotting multiple graphics in Appdesigner
Hi Francesco, I have written a small example for you. Because you have no code attached I can not say where your mistake is. ...

más de 1 año ago | 1

| accepted

Answered
How can I solve this system of equation
Hey Vince Ugo, you can not convert a variable into a symbolic expression (subsituting) and convert them into double() values an...

más de 1 año ago | 0

Answered
I have made a code for calculating the electric field intensity for n charges. I need help plotting the electric field intensity pl help !
As darova already mentioned it is really annoying. You should think about a different user input. But for visualizing I would ...

más de 1 año ago | 0

| accepted

Answered
GUI in Matlab or C++ ?
Hey Osama, if you are asking which programming language is better for making a GUI implicates you have never done a GUI in C...

casi 2 años ago | 0

| accepted

Question


Include Simulink model in a matlab executable
Hello everyone, I want to deploy a matlab program (matlab compiler) which communicates with several simulink models. As known t...

casi 2 años ago | 1 answer | 0

1

answer

Answered
how to draw a 3d pyramid using patch
Hope that suits you. Did it in an Objectorientated approach because I think this can be reused easier Some theory for patch whi...

casi 2 años ago | 1

Answered
How to take screenshot of a web page automatically using MATLAB?
Hi Tanzina, because I have not yet tackled such a task I can make only a few assumptions. For taking a screenshot: https://...

casi 2 años ago | 0

Answered
Limiting the number of Matlab figure windows
You should consider debugging without plotting and use breakpoints instead. I do not know the maximum limit of possible plot...

casi 2 años ago | 0

Answered
Create a 3D surface using 3 matrices
Have a look at https://de.mathworks.com/help/matlab/ref/surf.html https://de.mathworks.com/help/matlab/ref/mesh.html

casi 2 años ago | 0

Answered
Animating the movement of a figure
A rough and quick example: for(n=1:1:360) RectangleData = calcRectangle(n); %calculate your new position hRectangle...

casi 2 años ago | 0

Answered
Can I extract image coordinates using Matlab ?
Hey have you already tried to read in the .tiff? Have a look here: https://de.mathworks.com/help/matlab/ref/tiff.read.html May...

casi 2 años ago | 0

Answered
how can I check if a specific value in a matrix is an integer?
I am not quiet sure if you mean a REAL integer or just a number like 3. Because matlab stores everything as double by default. B...

más de 2 años ago | 0

Answered
Transfer function in Simulink
I am not sure if I understand your question completely. You should have a look on the system Identification Toolbox.

más de 2 años ago | 0

Answered
How to calculate a integral for a 4D array?
Hey R.N. I think it makes more sense to make a simple cubic integral and show its value along the time variable?

más de 2 años ago | 0

Answered
Errors after removal of appdata folder
Reinstallation of Matlab solved the problem. And remember never ever touch the appdata folder on Windows.

más de 2 años ago | 0

Question


Errors after removal of appdata folder
Hi, I accidentaly removed the Appdatafolder on Windows10. After this Matlab behaves nicely said strange. I am actually writ...

más de 2 años ago | 2 answers | 0

2

answers

Answered
How to display image from internet on axes?
Hi have a look at following code: filename = 'https://www.terra-hd.de/hochfelln/img/current/1400.jpg'; % Read it in to a varia...

más de 2 años ago | 0

Load more