Domanda


3-D-plot doesn't look like on Wolfram Alpha
I'm confused. By typing: [x,y] = meshgrid(-2:0.2:2) z = sin(x)./(y.^2+1) surf(x,y,z) I receive a totally different plot.

oltre 3 anni fa | 1 risposta | 0

1

risposta

Domanda


How to plot function with conditions (3d)
Suppose I want to plot the function % f(x,y) = x.*y by saying: [x,y] = meshgrid (-2:2:2); z = x.*y; surf(x,y,z) But what i...

oltre 3 anni fa | 1 risposta | 0

1

risposta

Domanda


Function that should be continuous isn't continuously plotted?
Given the function: f(x,y) = (x^3 - 3*x*y^2)/(x^2+y^2) I'd plot it typing: [x,y] = meshgrid(-2:0.2:2) z = (x.^3 - 3.*x.*y.^2...

oltre 3 anni fa | 2 risposte | 0

2

risposte

Domanda


How to plot vector with origin not at 0
I try to experiment with vectors a little, so that's where I stuck: I got a vector s s = t.* [1;1]; %t = 0:1:10 and a displace...

oltre 3 anni fa | 1 risposta | 0

1

risposta

Domanda


How to plot x^2 - y^2 = 1?
Very simple question to understand I think.

oltre 3 anni fa | 2 risposte | 0

2

risposte

Domanda


plotting Table doesn't work anymore?
I alyways plotted my tables like: T = readtable('path') x = T(:,1) y = T(:,2) plot(x,y) Why doesn't this work anymore??? ...

oltre 3 anni fa | 1 risposta | 1

1

risposta

Domanda


How to plot sphere in sphere coordinates?
I'm just trying to plot known sphere coordinates: function sphere(r) phi = linspace(0,2*pi); theta = linspace(0,pi); x = r...

oltre 3 anni fa | 2 risposte | 0

2

risposte

Domanda


why does Matlab not expand(abs(a-b)^2) ?
Wolfram alpha shows: a^2 -2*a*b+b^2

quasi 4 anni fa | 1 risposta | 0

1

risposta

Domanda


Difference between Matlab and Wolfram Alpha
These problems might occure frequently due to the varied syntax. This time it's about: solve(x^2-8*x+15<=1) what gives (accor...

quasi 4 anni fa | 2 risposte | 0

2

risposte

Domanda


How to set a function for error propagation
Hey, this is kinda my first try with function My aim is to code an automatic sequence for error propagation. E.g. function [...

quasi 4 anni fa | 1 risposta | 0

1

risposta

Domanda


Area under a shape?
Hello, I'd really like to know how to calculate the area beneath a shape like this: So from the outer borders to x-axis. Since...

quasi 4 anni fa | 1 risposta | 0

1

risposta

Domanda


How to apply a fit on this shape?
Since my data doens't really count as a function cftool is not an option. I wonder whether this is still faisable to fit: (I t...

circa 4 anni fa | 2 risposte | 1

2

risposte

Domanda


customize legend: extra legend entry
On a first isight I didn't find the answere, but it might excist already. However to shorten things: I got the following legend:...

circa 4 anni fa | 1 risposta | 0

1

risposta

Domanda


How to fit with case differentiation
I guess this is a really tricky question and might solved with a good amount of mathmatical knowledge. But first things first: ...

circa 4 anni fa | 0 risposte | 0

0

risposte

Domanda


Don't simplify while using 'latex'
Hey, each time I use Matlabs fabulous latex function the term automatically becomes simplified. However, sometimes I want to emp...

circa 4 anni fa | 1 risposta | 0

1

risposta

Domanda


Easy Substitution (variable)
Actually this may be a really easy one, but I don't know what to search for, so here I just ask: I've got the equation delta = ...

circa 4 anni fa | 1 risposta | 0

1

risposta

Domanda


How to code gaussian error function
In regard to coding, I wonder how you could execute the error function to any function, like C = atan((2*a)/(2*b)). So I'd expec...

circa 4 anni fa | 1 risposta | 0

1

risposta

Domanda


How to combine 2 Fits done with cftool
I know right there's kind of an article in matlab concering this topic, but I don't grasp it. So here again, I set up 2 fits and...

circa 4 anni fa | 1 risposta | 0

1

risposta

Domanda


How to move fitted plot along y axis
Hey, it's me again, this time I want to shift a fit I created with cftool: [xData, yData] = prepareCurveData( Fqr, Prem ); ...

circa 4 anni fa | 1 risposta | 0

1

risposta

Domanda


How to apply fit-function on variable
So I've got a fit done with cftool: %% Fit: 'untitled fit 1'. [xData, yData] = prepareCurveData( N, A ); % Set up fittype a...

circa 4 anni fa | 1 risposta | 0

1

risposta

Domanda


plot() doesn't work in .m file?
I'm slightly flustered: I just fitted a graph and typed plot() beneath to plot another graph, but Matlab gives error: %% Fit...

circa 4 anni fa | 1 risposta | 0

1

risposta

Domanda


How to plot x and y with x evaluated in a function
It seems to be such an easy thing but I can't right remember So, I've got an array of x values (2708x1) and y values(2708x1) an...

circa 4 anni fa | 1 risposta | 0

1

risposta

Risposto
linear fit in Log Scale + extension
Thank you for your effort, that is what I implemeted: p1 = polyfit(f(1:2),qU(1:2),1);%however many points you want x=5000:5000...

circa 4 anni fa | 0

Domanda


linear fit in Log Scale + extension
Hello, also this question might be trivial and frequently answered, but yet again I'm not able to grasp it. Long story short, th...

circa 4 anni fa | 2 risposte | 0

2

risposte

Domanda


Random numbers around y-values
Hello, I've got a set of y-values. I'd like Matlab to plot random numbers around these y-values (max difference:15%). For you in...

circa 4 anni fa | 1 risposta | 0

1

risposta

Domanda


Plot function with time step
Hello, even if this question was posed in a similar way, I couldn't apply it to my issue, also given the fact I'm very new. How...

circa 4 anni fa | 2 risposte | 0

2

risposte

Domanda


How to determine the mean of certain y values ?
This may sound like a genuinely easy question, but I'm quite a newbie. So far I imported values from a .txt file (A = readtabl...

circa 4 anni fa | 1 risposta | 0

1

risposta