Question

How to properly use nargin

I'm trying to use nargin to set a default input for a function, should that default not be previously defined by the user. I'm s...

alrededor de 2 meses ago | 1 answer | 0

Question

Taylor series in matlab

I'm working on trying to approximate a taylor series for log(1+x) in matlab. However, I wasn't given an equation, and I haven't ...

alrededor de 2 meses ago | 1 answer | 0

Question

help debugging 3-D plot code

I'm trying to figure out why this ellipsoid plot isn't working the way it's supposed to. It seems that the grid direction may b...

alrededor de 2 meses ago | 1 answer | 0

Question

figure view direction issue

I just need to view figure 2 from the same direction as figure 1, I used the same view commands for both figures but for some re...

2 meses ago | 1 answer | 0

Question

plotting logarithmic and linear scale

I'm working on an assignment that wants me to create a .m file that graphs both the linear and logarithmic scale. The assignmen...

2 meses ago | 1 answer | 0

Question

The forward Euler scheme for an ordinary differential equation

I'm having a lot of trouble with a homework problem that requires me to plot a forward euler scheme. I feel like I'm either clos...

2 meses ago | 1 answer | 0

Question

Equation for Fourier Series

I'm working on an assignment that requires me to plot a truncated fourier series. I have it very close to being correct. The co...

2 meses ago | 2 answers | 0

Question

How to use output numbers as a vector.

The code I'm working on does what it's supposed to, however, I technically want it to output the values as a vector b instead of...

2 meses ago | 2 answers | 0

Question

How do I get a graph to spiral

I'm working on creating a spiral of archimedes for a hw assignment, I'm having difficulty getting the plot to spiral properly. R...

2 meses ago | 2 answers | 0

Question

Issues plotting an equation.

I'm having difficultly getting an equation to run for a homework problem I'm working on. I'm hoping someone can help me get the ...

2 meses ago | 1 answer | 0

Question

How to make unfilled plot points?

How do I get my plot points to be unfilled instad of filled? I just about have this the way I want it right now my data points...

2 meses ago | 1 answer | 0

Question

Difficulty plotting equations.

I'm just starting to learn to plot equations in 2D format in matlab and I'm having some issues getting started. Right now I'm a...

2 meses ago | 1 answer | 0

Question

Help with Syntax error

Hey, to preface this post, I'm very new to this and I'm still trying to learn the basics. I'm trying to get this particular cod...

2 meses ago | 3 answers | 0

Answered

Can someone help with my syntax error

I had attempted to use numel and still didn't get the correct outcome, this could have been due to another factor though. I did...

Can someone help with my syntax error

I had attempted to use numel and still didn't get the correct outcome, this could have been due to another factor though. I did...

2 meses ago | 0

Question

Can someone help with my syntax error

I'm having trouble getting this to iterate through all rows of my matrix. the goal is simply to be able to input a random matri...

2 meses ago | 4 answers | 0

Question

I've been stuck for way too long on this problem, I really just need someone to help me with the syntax I need for this problem.

perform the following tasks (you are not allowed to use the find function or other matlab functions like it in matlab): •Prom...

2 meses ago | 1 answer | 0