Frage


cheby1
Hi, I'm having problems finding something out something simple. If I'm given this: - [b,a] = cheby1(8,1,0.4); y = fi...

fast 14 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


Axis in scientific form - have tried to stop it....
axis in scientific form - have tried to stop it…. I have a plot with a logarithmic scale on the x-axis and I want it to say t...

etwa 14 Jahre vor | 1 Antwort | 2

1

Antwort

Frage


Not enough input arguments - something simple i'm sure
I'm getting the above error when trying to execute this code, close all clear all m = 0.05; %mass of cone and coil toge...

etwa 14 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Quick question about elementwise
I have a piece of code that works without the .* and another that doesn't - can't work out why. This is the one that works ...

etwa 14 Jahre vor | 1 Antwort | 0

1

Antwort

Beantwortet
Can't sort this code
I have this as a similar problem, which I can use as a kind of template for this one... '1024 samples of one period of a 1Hz ...

etwa 14 Jahre vor | 0

Frage


FFT function code from YouTube not working
The original question has been removed by the user.

etwa 14 Jahre vor | 1 Antwort | 1

1

Antwort

Beantwortet
Function definitions are not permitted.... trying to make an FFT thing
I think it might be right. Just discovered that the function line has to be the top line of code otherwise it doesn't work.

etwa 14 Jahre vor | 0

| akzeptiert

Beantwortet
Help with code needed - sampling
Nice one

etwa 14 Jahre vor | 0

Frage


How do I create a distribution from an equation?
I have this code t = linspace(0,0.01,1000); f = 220; x = 4-cos(2*pi*f.*t); and I need to create a distribution to then...

etwa 14 Jahre vor | 3 Antworten | 0

3

Antworten

Beantwortet
Need to derive the CDF for a function using Matlab
Actually - sorry - that was a ridiculous post. Ignore that and thanks again. Tom

etwa 14 Jahre vor | 0

Frage


PDF, PSD, Auto-covariance, Fourier spectrum - all from .wav file
Hi, I need to calculate the above for a given .wav file. I know how to arrive at each solution using mathematical techniques, bu...

etwa 14 Jahre vor | 1 Antwort | 0

1

Antwort

Beantwortet
Animation help needed with
Actually - it did work I just couldn't see it properly. Many thanks again.

etwa 14 Jahre vor | 1

Beantwortet
Animation help needed with
Brilliant! That's really good thank you loads. One last thing - is there a way to stop the vertical axis from automatically chan...

etwa 14 Jahre vor | 1

Beantwortet
How do I make my graph as big as possible on the screen?
That's great thanks.

etwa 14 Jahre vor | 0

Frage


How do I make my graph as big as possible on the screen?
Hi - how do I make my graph as big as possible on screen. Thanks

etwa 14 Jahre vor | 2 Antworten | 0

2

Antworten

Beantwortet
For loop and indexing combined?
Okay - I've not come across a few of these things before. I hope you don't mind if just fire off a few questions about it. Wh...

etwa 14 Jahre vor | 0

Frage


getting a flat surface graph
I've got this equation, which I wanted to see a plot of so I put it into Matlab hoping to gain a little insight. Instead I just ...

etwa 14 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Iter rec - does it always have to be an integer?
I'm just trying to set up some 'for' loops and I have a couple of arrays that don't go up in integer values. I've been using thi...

etwa 14 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


help section
hi, i was trying to do some work on matlab today while i was out and about - and not connected to the internet. i'm still quite ...

etwa 14 Jahre vor | 1 Antwort | 1

1

Antwort

Frage


accessing particular parts of an array
i'm just wondering how i can refer to particular values within arrays. so if i had x=[0,1,2,3,4]; y=x^2; Then for what...

etwa 14 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


surf plot - not sure how to make a matrix
Hi, I don't understand how to make the necessary matrix to make a surf graph using two variables. I've done simple surf graphs w...

etwa 14 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


Graphs aren't showing up well when imported in to other programs - can I thicken lines?
All of my graphs look really poor when I save them as image files and put them into a word processing document. I've tried a few...

etwa 14 Jahre vor | 3 Antworten | 0

3

Antworten

Beantwortet
can't add axis labels
thanks

etwa 14 Jahre vor | 0

Frage


can't add axis labels
hey, could someone quickly help me to add labels to my plot? i've tried but something has gone wrong (something simple i'm sure)...

etwa 14 Jahre vor | 3 Antworten | 0

3

Antworten

Beantwortet
How do I combine multiple plots in one graph?
Thanks, that's perfect.

etwa 14 Jahre vor | 0

Frage


How do I combine multiple plots in one graph?
Hi, is there somewhere I can see some examples of scripts that result in multiple plots on one graph? I know the 'hold' funct...

etwa 14 Jahre vor | 7 Antworten | 3

7

Antworten

Frage


How do I put in a range of negative numbers?
I've got this script: - m=2 g=9.81 k=0.5 c=sqrt((m*g)/k) v=[-6.264183904] t=(-1*(c/2)*log((c+v)/(c-v)))/g plot(v,t) ...

etwa 14 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


Newbie question - running my script no longer puts anything in the command window
Hi, I've made a few scripts, which work okay, but now when I run them, it no longer puts the individual calculations in the cent...

etwa 14 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Newbie question
Okay, so I've got a solution, which I've successfully turned into a script, so I can run it and change values as I want. But wha...

etwa 14 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Newbie question
I'm new to Matlab, and I've just finished a set of calculations which gave me a final answer. Now I want to alter one of my earl...

etwa 14 Jahre vor | 1 Antwort | 0

1

Antwort

Mehr laden