Niklas Kurz
Followers: 0 Following: 0
Statistica
RANK
9.106
of 296.109
REPUTAZIONE
4
CONTRIBUTI
84 Domande
3 Risposte
ACCETTAZIONE DELLE RISPOSTE
94.05%
VOTI RICEVUTI
4
RANK
of 155.365
CONTRIBUTI
0 Problemi
0 Soluzioni
PUNTEGGIO
0
NUMERO DI BADGE
0
CONTRIBUTI
0 Post
CONTRIBUTI
0 Pubblico Canali
VALUTAZIONE MEDIA
CONTRIBUTI
0 Punti principali
NUMERO MEDIO DI LIKE
Feeds
Domanda
How to add every nth element of an array to the nth+1 element?
I wonder if there is a short expression for the task above. For example if I had an array like this a = [1, 2, 3, 3, 4, 5, 5, 6...
7 mesi fa | 1 risposta | 0
1
rispostaDomanda
How to design a solid Body for even Meshing in Matlab? (Hemisphere)
Hello dear Matlab community, I currently try to: create a surface from x y z coordinates (easily done with meshgrid and surf) ...
circa un anno fa | 1 risposta | 0
1
rispostaDomanda
Solve Equation with symbolic Constants numerically.
Say I have got the Planck's law whose maximum I want to determine numerically: % a = hbar/(pi^2*c^3) % b = hbar./(kB*T); ...
oltre un anno fa | 1 risposta | 0
1
rispostaDomanda
Using Matlab to solve 1D Schrödinger Equation (Strange Eigenfunctions)
Following this splendid tutorial (in Python) I tried recreating the code in Matlab First of, here the Python Code: % impor...
oltre un anno fa | 2 risposte | 0
2
risposteDomanda
App designer: How to define self-referring properties?
I'm getting into app designer once again, and right from the start I'm getting desperate. When defining a property, I receive a...
quasi 2 anni fa | 1 risposta | 0
1
rispostaDomanda
How to convert a string into a variable name and assign it a cell of data?
I've read multiple post: converting a string into a variable name seems quite problematic, but in my case convenient. It's abou...
circa 2 anni fa | 1 risposta | 0
1
rispostaDomanda
How to use string as plot arguments
I was fiddling around a lot: Having two plots, I want to spare some work and define a common string to feed into both plots argu...
circa 2 anni fa | 1 risposta | 0
1
rispostaDomanda
Increasing speed by fixing axis and grid outside of a loop
Heres a minimal example of what I mean: Axis and grid are set before the loop Pos = [0 0]; axis([0 1 0 1]); grid on ...
circa 2 anni fa | 1 risposta | 0
1
rispostaDomanda
While loop with all elements meeting the conditions
How do I set a while loop that runs until all elements meet the condition? For instance: t = -100:200; F = t; ind...
circa 2 anni fa | 1 risposta | 0
1
rispostaDomanda
How to combine 2 function handles of different variables?
Strangely enough I was not able finding an answere to this sinewy problem: Given 2 function handles mu = @(n, dmu, mubar)...
circa 2 anni fa | 2 risposte | 0
2
risposteDomanda
Using Matlab to create a LaTex document (for image import)
In order to import multiple figures in LaTex from one folder I have found following code: fileID = fopen('./incl_img_latex.t...
oltre 2 anni fa | 1 risposta | 0
1
rispostaDomanda
How to give trail to particles/ How to fade out plots with time (complex example)
Inspired from a webproject I have created this n-body-simulation: First of a function to acces on: % calculating accelerati...
oltre 2 anni fa | 2 risposte | 0
2
risposteDomanda
Matlab simulation for planet motion
There were some attemps simulating planetary motion already, but I think mine is straightforward by solving and updating positi...
quasi 3 anni fa | 2 risposte | 0
2
risposteDomanda
How to plot wave function for finite square well? [Physics question]
A question addressed to other physicist among the MATLAB community: Considering a finite sqaure well potential: It turns o...
quasi 3 anni fa | 1 risposta | 0
1
rispostaDomanda
LaTex for Titles in Appdesigner now possible?
I'm now finding into appdesigner myself and have saw multiple people asking how to incorporate LaTex. There are some workaro...
quasi 3 anni fa | 1 risposta | 0
1
rispostaDomanda
How to plot symbolic function with string specification?
Briefly I want to execute syms x f = x fplot(f,'b','LineWidth',2) but a little fancier. I want the specification to be a ...
quasi 3 anni fa | 2 risposte | 0
2
risposteDomanda
Matlab wouldn't find simple inverse
Given the function defined via syms x a real; f = x^(a-1) Why Matlab won't find an inverse to that? finverse(f) is resulti...
circa 3 anni fa | 2 risposte | 0
2
risposteDomanda
How to plot vectors exactly on the edge of another graph?
The best I've got is expressed by the following: clear [u,v] = meshgrid(-2:0.2:2); f = u.^2+v.^2-1; [du,dv] = grad...
circa 3 anni fa | 1 risposta | 0
1
rispostaDomanda
Matlab warning when using log
I have quiete a long script basically just consiting of comments for plotting pairs of points and customizing the resulting plo...
oltre 3 anni fa | 1 risposta | 0
1
rispostaDomanda
How to fit a gaussian to unnormalized data
I do know this question has been asked in several kinds plus it's rather a mathematical question for mathstack like sites. But...
oltre 3 anni fa | 1 risposta | 0
1
rispostaDomanda
Does order of multiplication really matter when using simplify ?
I noticed, when I type the following commands: syms x; syms n integer; cn = int(abs(x)*exp(-i*n*x),x,-pi,pi); cnp = ...
oltre 3 anni fa | 2 risposte | 0
2
risposteDomanda
expand and simplify are not reverse?
I thought any symbolic function that I expand I can simplify getting same results in both direction. But it seems to be just one...
oltre 3 anni fa | 1 risposta | 0
1
rispostaDomanda
How to show axis in 3D
Any time I plot in 3D I get a little confused because of aggravated orientation. The main reason is the missing default visualis...
oltre 3 anni fa | 1 risposta | 0
1
rispostaDomanda
improper integral: exp(ikx) undefined in Matlab?
I wanna integrate: With solution: But Matlab gives NAN: syms x k; assume(k,'integer'); int(exp(1i*k*x),x,-inf,inf)
oltre 3 anni fa | 1 risposta | 0
1
rispostaDomanda
How to fill a volume plot of a vector valued functions (with 3 variables)
Again, I'm ascending new ground, now dealing with volume plots. I'm aware of Matlabs documentary concering this topic. But it do...
oltre 3 anni fa | 1 risposta | 0
1
rispostaDomanda
Filling inside of a plot with color (gradient)
I'm coming back to filling areas with color, trying this time to get the most beautiful result: Here I've got the plain vect...
oltre 3 anni fa | 1 risposta | 0
1
rispostaDomanda
How to include function in legend
I tried all possibl string2functions of Matlab, but not getting quiete the result. Here's my best try: syms x F = x^2; % ...
oltre 3 anni fa | 2 risposte | 0
2
risposteDomanda
Two different solutions for one differential equation (population model)
I'll try solving the ODE: Substituting Transforming to: Solving I get: Finally, after back substitution: complete so...
oltre 3 anni fa | 1 risposta | 0
1
rispostaDomanda
Error when using variable in axis
I've: syms w we B U A = (w*U)/(sqrt((-w^2+we)^2+(B*w)^2)); syms R L C Aw = subs(A,{B,we},{R/L,1/(L*C)}); fplot(su...
oltre 3 anni fa | 1 risposta | 0
1
rispostaDomanda
How to set Assumptions for function handle?
easy case: I'v gut a function handle: f = @(x,y,z)x.^2+y.^2+z.^2-1; fimplicit3(f) for plotting an implicit function. Now ...
oltre 3 anni fa | 1 risposta | 0