photo

Aaron


Attivo dal 2012

Followers: 0   Following: 0

Messaggio

Statistica

All
MATLAB Answers

29 Domande
0 Risposte

Cody

0 Problemi
2 Soluzioni

RANK
208.767
of 300.813

REPUTAZIONE
0

CONTRIBUTI
29 Domande
0 Risposte

ACCETTAZIONE DELLE RISPOSTE
51.72%

VOTI RICEVUTI
0

RANK
 of 21.086

REPUTAZIONE
N/A

VALUTAZIONE MEDIA
0.00

CONTRIBUTI
0 File

DOWNLOAD
0

ALL TIME DOWNLOAD
0

RANK
91.976
of 171.169

CONTRIBUTI
0 Problemi
2 Soluzioni

PUNTEGGIO
30

NUMERO DI BADGE
1

CONTRIBUTI
0 Post

CONTRIBUTI
0 Pubblico Canali

VALUTAZIONE MEDIA

CONTRIBUTI
0 Punti principali

NUMERO MEDIO DI LIKE

  • Thankful Level 3
  • Solver

Visualizza badge

Feeds

Visto da

Risolto


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

oltre 11 anni fa

Risolto


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

oltre 11 anni fa

Domanda


How can I run multiple bisect programs in one file?
I have created bisection function files (five) and would like to combine them into one file to run. Below are the first 3. ...

quasi 12 anni fa | 0 risposte | 0

0

risposte

Domanda


Is it possible to use the bisection method?
I'm having a difficult time setting up my code. Here is a quick rundown of what I'm trying to do: I have a set(4) of equat...

quasi 12 anni fa | 1 risposta | 0

1

risposta

Domanda


What does this error mean and how do I fix it?
I received the following error and am not sure how to correct it? I've copied my 3 function files below. This thing is reall...

circa 12 anni fa | 0 risposte | 0

0

risposte

Domanda


Why is this function not working?
I set the following function in my command window: f=@(x) 0.2+25*x-200*x^2+675*x^3-900*x^4+400*x^5; Then I created anoth...

circa 12 anni fa | 2 risposte | 0

2

risposte

Domanda


Need some help with equation error, please.
I've set up the following two files to run an electrical potential problem and one of the variables that I'm using involves usin...

oltre 12 anni fa | 1 risposta | 0

1

risposta

Domanda


Golden Search method file consolidation
I had created two files (function and main) for a golden search problem. I would like to make just one file, type it in the com...

oltre 12 anni fa | 1 risposta | 0

1

risposta

Domanda


How to plot the input variables vs functions using input variables?
I've tried to plot f(N) vs N but I am unable to get any lines on the graph. Just some spots. I need to plot the function using...

oltre 12 anni fa | 0 risposte | 0

0

risposte

Domanda


What am I doing wrong with this?
I'm trying to create a bisection method to solve a function, and I thought I knew how to set it up. But now I just don't know! ...

oltre 12 anni fa | 1 risposta | 0

1

risposta

Domanda


Using the bisection method
I'm not sure if I used the bisection method correctly. Do I have to have two separate .m files? Is the code below okay? T...

oltre 12 anni fa | 0 risposte | 0

0

risposte

Domanda


Can't figure out where my mistake is?
Trying to solve boundary value problem. I have a template to work off of but I'm not sure where I am coding wrong. functio...

oltre 12 anni fa | 1 risposta | 0

1

risposta

Domanda


How to interpret boundary conditions for matlab?
I know that these are called Danckwerts Boundary conditions but I still don't understand. Uc = Uc(x=0) - D*dc/dx (x=0) dc/...

oltre 12 anni fa | 0 risposte | 0

0

risposte

Domanda


Using "bvp4c" to solve 2nd order DE?
I was told that using a template and changing a few things would provide me with an answer to a 2nd order DE, using bvp4c. But ...

oltre 12 anni fa | 0 risposte | 0

0

risposte

Domanda


I'm not sure what else I'm missing?
I've been trying to solve an ODE using ode45 and here is my code: function dydt = odepro4(t,y) t = 0; y = 1; dydt = (y.*...

oltre 12 anni fa | 1 risposta | 0

1

risposta

Domanda


How can I get my script to run properly?
I was initially having trouble with my function, but now since that is running okay, my script is not. It involves a for loop a...

oltre 12 anni fa | 1 risposta | 0

1

risposta

Domanda


How do I get this function program to display "v" instead of "ans"?
function v = piecewise_fun(t) if 0 <= t & t <= 8 v = (10.*t).^2 - (5.*t) elseif 8 <= t & t <= 16 v = 624 -...

oltre 12 anni fa | 1 risposta | 0

1

risposta

Domanda


Could someone check my work?
I've created a function that will calculate a piecewise function to be called on. I want to make sure that it is okay. Here ...

oltre 12 anni fa | 2 risposte | 0

2

risposte

Domanda


I need some assistance with my function program?
I'm not sure where my mistakes are. The following is my main program: a = input('Enter value for side a: '); if ...

oltre 13 anni fa | 2 risposte | 0

2

risposte

Domanda


How would I modify the output for the answers in the program I've written?
I've created a simple program to convert inches to centimeters and pounds to kilograms and I would like to reduce the number of ...

oltre 13 anni fa | 1 risposta | 0

1

risposta

Domanda


How do I get the command prompt to start on a new line in my command window.
After I enter my program to test, the ">>" appear immediately after the answer and not on a new line.

oltre 13 anni fa | 1 risposta | 0

1

risposta

Domanda


How to get the the program to stop?
I'm creating a program and need it to stop at a prompted number. if true % code end *n = input('Enter number of ...

oltre 13 anni fa | 0 risposte | 0

0

risposte

Domanda


I need to find out what this program is missing
I'm trying to use this program to calculate the cos of a given(prompted) angle in degrees. A=input('Enter angle:'); x=(p...

oltre 13 anni fa | 1 risposta | 0

1

risposta

Domanda


Need some assistance with creating a program
I need to create a *while loop* program to calculate cos(x) accurate to 6 digits after decimal using: cos(x)=1-(x^2/2!)+(x^4/...

oltre 13 anni fa | 1 risposta | 0

1

risposta

Domanda


Assistance with creating multidimensional matrices
I have created a program shown below: Rows = input('Enter the number of rows in the matrix: '); Columns = input('Enter the ...

oltre 13 anni fa | 1 risposta | 0

1

risposta

Domanda


'For loop' for beginners
I'm having a hard time figuring out the for loop command. I want to create a .m file that will prompt a user to enter an array ...

oltre 13 anni fa | 3 risposte | 0

3

risposte

Domanda


How to keep my complex root answers un-simplified?
I've created a formula to calculate complex roots in editor and have the following: a=input('Enter the value for a: '); ...

oltre 13 anni fa | 1 risposta | 0

1

risposta

Domanda


How do I change the display of my answers if condition is not met?
Here is what I have so far: *format compact a=input('Enter value for side a: '); if a <= 0...

oltre 13 anni fa | 1 risposta | 0

1

risposta

Domanda


I keep getting a syntax error with my program???
I'm creating a program that identifies x and y coordinates in a Cartesian coordinate system. *x=input('Enter value for x: '...

oltre 13 anni fa | 2 risposte | 0

2

risposte

Domanda


Need some assistance with "if" command
I'm trying to get my program to stop completely when given an invalid response after entering the side lengths. I've created th...

oltre 13 anni fa | 3 risposte | 0

3

risposte

Carica altro