photo

Nathan Hardenberg


Actif depuis 2020

Followers: 0   Following: 0

Message

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

Statistiques

All
MATLAB Answers

1 Question
88 Réponses

Cody

0 Problèmes
23 Solutions

RANG
455
of 300 763

RÉPUTATION
176

CONTRIBUTIONS
1 Question
88 Réponses

ACCEPTATION DE VOS RÉPONSES
100.0%

VOTES REÇUS
33

RANG
 of 21 082

RÉPUTATION
N/A

CLASSEMENT MOYEN
0.00

CONTRIBUTIONS
0 Fichier

TÉLÉCHARGEMENTS
0

ALL TIME TÉLÉCHARGEMENTS
0

RANG
15 533
of 170 923

CONTRIBUTIONS
0 Problèmes
23 Solutions

SCORE
363

NOMBRE DE BADGES
2

CONTRIBUTIONS
0 Publications

CONTRIBUTIONS
0 Public Chaîne

CLASSEMENT MOYEN

CONTRIBUTIONS
0 Point fort

NOMBRE MOYEN DE LIKES

  • 6 Month Streak
  • Knowledgeable Level 4
  • Introduction to MATLAB Master
  • MATLAB Central Treasure Hunt Finisher
  • Solver
  • Revival Level 2
  • First Answer

Afficher les badges

Feeds

Afficher par

Réponse apportée
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...

environ 2 ans il y a | 0

Réponse apportée
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ä...

environ 2 ans il y a | 0

Réponse apportée
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...

plus de 2 ans il y a | 1

| A accepté

Réponse apportée
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...

plus de 2 ans il y a | 0

Réponse apportée
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...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
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,...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
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. ...

plus de 2 ans il y a | 2

| A accepté

Réponse apportée
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...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
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); ...

plus de 2 ans il y a | 0

Réponse apportée
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...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
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 ...

plus de 2 ans il y a | 0

Réponse apportée
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 ...

plus de 2 ans il y a | 0

Réponse apportée
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...

plus de 2 ans il y a | 1

Réponse apportée
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("π")

plus de 2 ans il y a | 0

Réponse apportée
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 ...

plus de 2 ans il y a | 0

Réponse apportée
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...

plus de 2 ans il y a | 0

Réponse apportée
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...

plus de 2 ans il y a | 2

| A accepté

Réponse apportée
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...

plus de 2 ans il y a | 1

Réponse apportée
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 "...

plus de 2 ans il y a | 1

| A accepté

Réponse apportée
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...

plus de 2 ans il y a | 0

Réponse apportée
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...

plus de 2 ans il y a | 0

Réponse apportée
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 ...

plus de 2 ans il y a | 1

A résolu


Getting the indices from a vector
This is a basic MATLAB operation. It is for instructional purposes. --- You may already know how to <http://www.mathworks....

plus de 2 ans il y a

A résolu


Swap the input arguments
Write a two-input, two-output function that swaps its two input arguments. For example: [q,r] = swap(5,10) returns q = ...

plus de 2 ans il y a

A résolu


Reverse the vector
Reverse the vector elements. Example: Input x = [1,2,3,4,5,6,7,8,9] Output y = [9,8,7,6,5,4,3,2,1]

plus de 2 ans il y a

A résolu


Create times-tables
At one time or another, we all had to memorize boring times tables. 5 times 5 is 25. 5 times 6 is 30. 12 times 12 is way more th...

plus de 2 ans il y a

A résolu


Check if number exists in vector
Return 1 if number _a_ exists in vector _b_ otherwise return 0. a = 3; b = [1,2,4]; Returns 0. a = 3; b = [1,...

plus de 2 ans il y a

A résolu


Make a random, non-repeating vector.
This is a basic MATLAB operation. It is for instructional purposes. --- If you want to get a random permutation of integer...

plus de 2 ans il y a

A résolu


Return the first and last characters of a character array
Return the first and last character of a string, concatenated together. If there is only one character in the string, the functi...

plus de 2 ans il y a

Charger plus