Question


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...

13 years ago | 2 answers | 0

2

answers

Question


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...

13 years ago | 1 answer | 2

1

answer

Question


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...

13 years ago | 1 answer | 0

1

answer

Question


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 ...

13 years ago | 1 answer | 0

1

answer

Answered
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 ...

13 years ago | 0

Question


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

13 years ago | 1 answer | 1

1

answer

Answered
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.

13 years ago | 0

| accepted

Answered
Help with code needed - sampling
Nice one

13 years ago | 0

Question


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...

13 years ago | 3 answers | 0

3

answers

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

13 years ago | 0

Question


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...

13 years ago | 1 answer | 0

1

answer

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

13 years ago | 1

Answered
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...

13 years ago | 1

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

13 years ago | 0

Question


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

13 years ago | 2 answers | 0

2

answers

Answered
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...

13 years ago | 0

Question


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 ...

13 years ago | 1 answer | 0

1

answer

Question


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...

13 years ago | 1 answer | 0

1

answer

Question


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 ...

13 years ago | 1 answer | 1

1

answer

Question


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...

13 years ago | 1 answer | 0

1

answer

Question


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...

13 years ago | 2 answers | 0

2

answers

Question


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...

13 years ago | 3 answers | 0

3

answers

Answered
can't add axis labels
thanks

13 years ago | 0

Question


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)...

13 years ago | 3 answers | 0

3

answers

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

13 years ago | 0

Question


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...

13 years ago | 8 answers | 3

8

answers

Question


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) ...

13 years ago | 2 answers | 0

2

answers

Question


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...

13 years ago | 1 answer | 0

1

answer

Question


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...

13 years ago | 1 answer | 0

1

answer

Question


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...

13 years ago | 1 answer | 0

1

answer

Load more