질문

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

12년 초과 전 | 답변 수: 2 | 0

질문

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

12년 초과 전 | 답변 수: 1 | 2

질문

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

12년 초과 전 | 답변 수: 1 | 0

질문

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

12년 초과 전 | 답변 수: 1 | 0

답변 있음

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

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

12년 초과 전 | 0

질문

FFT function code from YouTube not working

The original question has been removed by the user.

12년 초과 전 | 답변 수: 1 | 1

답변 있음

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.

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.

12년 초과 전 | 0

| 수락됨

질문

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

12년 초과 전 | 답변 수: 3 | 0

답변 있음

Need to derive the CDF for a function using Matlab

Actually - sorry - that was a ridiculous post. Ignore that and thanks again. Tom

Need to derive the CDF for a function using Matlab

Actually - sorry - that was a ridiculous post. Ignore that and thanks again. Tom

12년 초과 전 | 0

질문

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

12년 초과 전 | 답변 수: 1 | 0

답변 있음

Animation help needed with

Actually - it did work I just couldn't see it properly. Many thanks again.

Animation help needed with

Actually - it did work I just couldn't see it properly. Many thanks again.

12년 초과 전 | 1

답변 있음

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

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

12년 초과 전 | 1

질문

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

12년 초과 전 | 답변 수: 2 | 0

답변 있음

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

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

12년 초과 전 | 0

질문

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

12년 초과 전 | 답변 수: 1 | 0

질문

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

12년 초과 전 | 답변 수: 1 | 0

질문

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

12년 초과 전 | 답변 수: 1 | 1

질문

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

12년 초과 전 | 답변 수: 1 | 0

질문

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년 전 | 답변 수: 2 | 0

질문

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년 전 | 답변 수: 3 | 0

질문

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년 전 | 답변 수: 3 | 0

질문

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년 전 | 답변 수: 8 | 3

질문

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년 전 | 답변 수: 2 | 0

질문

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년 전 | 답변 수: 1 | 0

질문

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년 전 | 답변 수: 1 | 0

질문

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년 전 | 답변 수: 1 | 0