Nathan Hardenberg

Attivo dal 2020

Followers: 0   Following: 0

Programming Languages:
Python, C, MATLAB, Arduino, Visual Basic
Spoken Languages:
English, German
Pronouns:
He/him

All

Visualizza badge

Feeds

Visto da

Risposto
Plotting Ellipsoids on XYZ graphs.
For extracting the data from the Excel Sheet you can use build in Matlab functions, like the readtable()-function. I won't go in...

9 mesi fa | 0

Risposto
Wie kann ich Binärbilder in einer Montage korrekt darstellen?
Mit deiner Beschreibung ist es leider schwierig dir zu helfen. Sinnvoll wäre es, wenn du Screenshots von deinen figures mit anhä...

11 mesi fa | 0

Risposto
how to plot deformation on a cracked plate?
Firstly I'm plotting a crack similar to the example image. This is done using two surf-plots and is easily possible since the cr...

11 mesi fa | 1

| accettato

Risposto
does the rotational port S recognize the load flow?
You can understand the rotational port as a welding joint with a rigid rotating rod. The rod beeing the "light green wire" in th...

11 mesi fa | 0

Risposto
How to improve readability of this contour / pcolor plot?
There seems to be an issue with the color that gets plotted over the contour. I just plotted the contour afterwards with good re...

11 mesi fa | 0

| accettato

Risposto
How to optimize the code?
You write "the code fails to compile". What do you mean by that? You most likely run the code, and it takes very long to finish,...

11 mesi fa | 0

| accettato

Risposto
How can write this equation in matlab?
You do not specify what is so I will disregard it at first. Also your variables are vectors/matricies if I see that correctly. ...

11 mesi fa | 2

| accettato

Risposto
Add units to the chart
The number is added by default if you just use the high numbers directly x = [10:0.1:12]*10^9; y = sin(x); plot(x,y) -- EDIT...

11 mesi fa | 0

| accettato

Risposto
Color the area between two plots
One way to achive this is like this: x1 = 1:0.05:2; % graph 1 y1 = exp(x1) + 1; x2 = 1:0.05:2; % graph 2 y2 = exp(x2); ...

11 mesi fa | 0

Risposto
How to build a air pressurized tank
Your setup works for me if you change one setting in the "Thermal Liquid Properties (TL)"-Block: Pressure and temperature outsid...

11 mesi fa | 0

| accettato

Risposto
I'm unsure as to why MATLAB is returning an infinite root no matter the initial guess. Can someone help with this?
I'm very unsure what algorithm this should be. Can you provide more information. You could do it with something like newton's me...

11 mesi fa | 0

| accettato

Risposto
How to correctly use contourf with logarithmic color scale?
There are two ways I know of: Define your own (manual) values on which contours should be drawn, or just plot the logarithmic ...

11 mesi fa | 0

Risposto
connecting dc motor to assembly
First of all I would recommend a "Revolute Joint" instead of a "Cylindirical Joint". A cylindrical joint can also move linearly ...

12 mesi fa | 0

Risposto
DIFFICULTY LOCATING SIMSCAPE BLOCK
As a help to find the blocks easier, you can launch the standalone library browser (if you didn't do that already). For that cli...

12 mesi fa | 1

Risposto
How to display pi symbol in the output?
You can display pi as a sybolic disp(sym(pi)) Or you can use a π-character (𝜋 or π). disp("𝜋") disp("π")

12 mesi fa | 0

Risposto
Find X,Y,Z of this linear
This is very simple to do. I choose diffenent numbers, since I don't know how your "."-delimiters are meant to be. syms x y z ...

12 mesi fa | 0

Risposto
How to have variable as time-dependent in Stateflow?
Check out this MATLAB documentation example: https://mathworks.com/help/stateflow/gs/stateflow-charts.html This is pretty much...

12 mesi fa | 0

Risposto
matlab not displaying an approximated value of an improper integral?
Here are some ideas, but please still regard my comment. You have two variables x and p. You can not approximate numerically th...

12 mesi fa | 2

| accettato

Risposto
Discontinuity in plot after applying moving average filter
This discontinuity is to be expected! That is what the moving average does. The ends gets averaged also, and thus do get shifted...

12 mesi fa | 1

Risposto
Error in port widths or dimensions. Invalid dimension has been specified for 'Input Port 1'
The error seems to be noticed in 'MicrogridActivePowerControl/powergui/EquivalentModel1/Gates/From1'. I'm guessing this is the "...

12 mesi fa | 1

| accettato

Risposto
I cant sign in using my university account. and seem to be stuck in a loop
I'm not quite sure when you get the popup. After entering your email address? Then it would be weird to provide another email af...

12 mesi fa | 0

Risposto
4D plot matlab gives error
The error-message is pretty precise. If you want to plot a surface you need a z-hight for every (x,y) position. Thats why it nee...

circa un anno fa | 0

Risposto
Remove white space around a horizontal bar
Adjusting the bar width should work. Just choosing a big number is maybe good enough. x = [0]; % data y = [15 20 5]; % data ...

circa un anno fa | 1

Risposto
Mechatronics Simscape multibody help
Thanks for providing the model. First of all, input and output-torque will always be exactly the same, since you already provi...

circa un anno fa | 0

| accettato

Risposto
How to plot humidity data on a world map?
An easy way would be to use geoscatter(). This does not interpolate but just plots the points with color according to the value....

circa un anno fa | 0

Risposto
Sinusoidal issue of ADC signals using TI Delfino F28379D LaunchPad
Here the results from the comments Possible fixes: Reducing "Fixed-step size (fundamental sample time)" Increase baud rate. H...

circa un anno fa | 0

| accettato

Risposto
How to do interpolation on the map?
You can interpolate the datapoints with the griddata() function. As @Walter Roberson mentioned this also assumes a uniform grid,...

circa un anno fa | 0

| accettato

Risposto
Simscape multibody in R2022b
I do not know, why this worked for you in R2021b. I did not test it in that version, but it did not seem to work for @Shree Char...

circa un anno fa | 0

Risposto
How to perform a block opeartion at particular time index in simulink?
Check out the "Enabled Subsystem". Put your MATLAB function in there and only enable it on your desired timesteps. One way to d...

circa un anno fa | 0

Risposto
simulink; Failed to connect to Arduino board, when using esp8266
A friend of mine had a similar problem. The problem is probably that you use the only serial interface (UART) of the Arduino UNO...

circa un anno fa | 0