Domanda

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

oltre 11 anni fa | 2 risposte | 0

Domanda

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

oltre 11 anni fa | 1 risposta | 2

Domanda

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

oltre 11 anni fa | 1 risposta | 0

Domanda

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

oltre 11 anni fa | 1 risposta | 0

Risposto

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

oltre 11 anni fa | 0

Domanda

FFT function code from YouTube not working

The original question has been removed by the user.

oltre 11 anni fa | 1 risposta | 1

Risposto

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.

oltre 11 anni fa | 0

| accettato

Domanda

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

oltre 11 anni fa | 3 risposte | 0

Risposto

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

oltre 11 anni fa | 0

Domanda

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

oltre 11 anni fa | 1 risposta | 0

Risposto

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.

oltre 11 anni fa | 1

Risposto

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

oltre 11 anni fa | 1

Risposto

How do I make my graph as big as possible on the screen?

That's great thanks.

How do I make my graph as big as possible on the screen?

That's great thanks.

oltre 11 anni fa | 0

Domanda

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

oltre 11 anni fa | 2 risposte | 0

Risposto

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

oltre 11 anni fa | 0

Domanda

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

oltre 11 anni fa | 1 risposta | 0

Domanda

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

oltre 11 anni fa | 1 risposta | 0

Domanda

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

oltre 11 anni fa | 1 risposta | 1

Domanda

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

oltre 11 anni fa | 1 risposta | 0

Domanda

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

quasi 12 anni fa | 2 risposte | 0

Domanda

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

quasi 12 anni fa | 3 risposte | 0

Domanda

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

quasi 12 anni fa | 3 risposte | 0

Domanda

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

quasi 12 anni fa | 8 risposte | 3

Domanda

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

quasi 12 anni fa | 2 risposte | 0

Domanda

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

quasi 12 anni fa | 1 risposta | 0

Domanda

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

quasi 12 anni fa | 1 risposta | 0

Domanda

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

quasi 12 anni fa | 1 risposta | 0