Pregunta


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

casi 14 años hace | 2 respuestas | 0

2

respuestas

Pregunta


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

alrededor de 14 años hace | 1 respuesta | 2

1

respuesta

Pregunta


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

alrededor de 14 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

alrededor de 14 años hace | 1 respuesta | 0

1

respuesta

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

alrededor de 14 años hace | 0

Pregunta


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

alrededor de 14 años hace | 1 respuesta | 1

1

respuesta

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

alrededor de 14 años hace | 0

| aceptada

Respondida
Help with code needed - sampling
Nice one

alrededor de 14 años hace | 0

Pregunta


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

alrededor de 14 años hace | 3 respuestas | 0

3

respuestas

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

alrededor de 14 años hace | 0

Pregunta


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

alrededor de 14 años hace | 1 respuesta | 0

1

respuesta

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

alrededor de 14 años hace | 1

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

alrededor de 14 años hace | 1

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

alrededor de 14 años hace | 0

Pregunta


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

alrededor de 14 años hace | 2 respuestas | 0

2

respuestas

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

alrededor de 14 años hace | 0

Pregunta


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

alrededor de 14 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

alrededor de 14 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

alrededor de 14 años hace | 1 respuesta | 1

1

respuesta

Pregunta


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

alrededor de 14 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

alrededor de 14 años hace | 2 respuestas | 0

2

respuestas

Pregunta


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

alrededor de 14 años hace | 3 respuestas | 0

3

respuestas

Respondida
can't add axis labels
thanks

alrededor de 14 años hace | 0

Pregunta


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

alrededor de 14 años hace | 3 respuestas | 0

3

respuestas

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

alrededor de 14 años hace | 0

Pregunta


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

alrededor de 14 años hace | 7 respuestas | 3

7

respuestas

Pregunta


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

alrededor de 14 años hace | 2 respuestas | 0

2

respuestas

Pregunta


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

alrededor de 14 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

alrededor de 14 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

alrededor de 14 años hace | 1 respuesta | 0

1

respuesta

Cargar más