photo

Kristopher


Attivo dal 2014

Followers: 0   Following: 0

Messaggio

Statistica

  • Thankful Level 1

Visualizza badge

Feeds

Visto da

Domanda


Help writing a simple function
I'm new to functions, and I was wondering how you would write a simple if, then function. if x<4, then f(x)=-1 if 4<=x<=...

quasi 7 anni fa | 3 risposte | 0

3

risposte

Domanda


Double integral of a simple function
I am trying to write a program that will integrated (x-y)/(x+y)^3 twice from 0 to 1. Which command should I go about using?

quasi 10 anni fa | 1 risposta | 0

1

risposta

Domanda


How to graph a f(x,y) function?
I took a Matlab course over the summer, and now have to graph a problem in calculus. I am rusty on my commands, so I'm not sure ...

quasi 10 anni fa | 3 risposte | 0

3

risposte

Domanda


3-d plotting over a domain
How can I sketch a 3-d graph over a specified domain? For example, if I had y=x^2 and wanted to graph it over {(x,y):-3<=x, y<=3...

circa 10 anni fa | 1 risposta | 0

1

risposta

Domanda


Plotting in matlab over a rectangular domain
How would one go about plotting this equation? I know it has something to do with meshgrid or mesh/surf command. Sketch the gra...

circa 10 anni fa | 0 risposte | 0

0

risposte

Domanda


For this given code, what would the variable var equal?
What value does var have given the code fragment? for index = 1:2:7 if index <= 4 var(index) = index; ...

circa 10 anni fa | 1 risposta | 0

1

risposta

Domanda


Writing a simple funtion
I need to write a function in which you enter 2 inputs, and the output is the sum of the integers between those numbers. for exa...

circa 10 anni fa | 1 risposta | 0

1

risposta

Domanda


How can I shift rows and columns, and also replicating Sub matrixes.
First question, I have a 4x4 magic matrix, A. I want to create a new matrix D by shifting the rows in matrix A down by one, and...

circa 10 anni fa | 3 risposte | 0

3

risposte

Domanda


Finding indices in a magic 5x5 matrix in which the values are greater than 20?
There is a 5x5 matrix, and I am trying to find the values that are greater than 20. Would I use something like >>A=magic(5) ...

circa 10 anni fa | 1 risposta | 0

1

risposta

Domanda


How can I add a column of zeros to a magic 5x5 matrix A to create a 5x6 matrix C?
How can I add a column of zeros to a magic 5x5 matrix A to create a 5x6 matrix C? The element value in the 6th column should all...

circa 10 anni fa | 1 risposta | 0

1

risposta