Hi Everyone

Re; Help with MATLAB...basic stuff

Let me start with..."What the heck have I let myself in for???? "

I'm 43 years old

Haven't studied anything related to math in 10+ years.

Enrolled in University via distance education in Australia.

I live in a small town in Queensland's outback.

I have asked around town...only around 1000 people...no one knows anything regarding MATLAB.

I have watched the videos on the www.mathworks sites over and over....went through the textbook and studyguide over and over.

I am supposed to be able to do this after chapter 3...but I am really struggeling.

I have entered the formulas and it seems to execute, but I can't get it to plot.

I don't expect anyone to do my assignment, I have done work.

Can anyone please help?

I can type the question out here and my few lines of code (function file and script file)

Would anyone please help?? I'm really panicking....

Regards

from someone soooooooo out of his depth....please help?

The assignment is due in 6 hours and I really don't want to fail.

MISTERMUSTARD :-(

MisterMustard
0
Newbie Poster

## Recommended Answers

Jump to Postwell, it's nice to post a reply? post here, but I'm kind off missing some parts in your posts.

what is it that you need done?

what is it that you have done?

what is it that you're struggling with?

what textbook do you use, how are we supposed to …

Jump to PostJust for a quick look, you have mismatch call for function. The DNFUNCTION is returning 8 values at once, but you attempt to put them all in 2 variables when you call.

function [x1,y1,x2,y2,x3,y3,x4,y4]=DNFUNCTION(a,b,d,t);

...

[x1, y1]=DNFUNCTION(a,b,d,t);Try to add variables to accept all return values.

PS: Matlab …

## All 8 Replies

stultuske
1,116
Posting Maven
Featured Poster

MisterMustard
0
Newbie Poster

MisterMustard
0
Newbie Poster

MisterMustard
0
Newbie Poster

MisterMustard
0
Newbie Poster

naui95
0
Newbie Poster

MisterMustard
0
Newbie Poster

Taywin
312
Posting Virtuoso

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.