photo

John


Actif depuis 2011

Followers: 0   Following: 0

Message

Statistiques

  • 3 Month Streak
  • Thankful Level 1

Afficher les badges

Feeds

Afficher par

Question


fprintf
ok I know how to code an fprintf if I am printing a value, but I want to make a "title" print for example. Mass ...

plus de 13 ans il y a | 1 réponse | 0

1

réponse

Réponse apportée
Optimization Simple search
I understand your method is more efficient, and i do not believe my bubble sort is working either because I have: sort=bubb...

plus de 13 ans il y a | 0

Réponse apportée
Optimization Simple search
I am trying to implement this form of a bubble sort, doing what I explained above but matlab is giving me an error because y is ...

plus de 13 ans il y a | 0

Réponse apportée
Optimization Simple search
I have been looking at everything suggested and researched other options is a bubble sort an efficient way to sort an array as w...

plus de 13 ans il y a | 0

Question


Matlab Integration
I have a very complex integral I am trying to approximate the integral with in Matlab using Euler's method. I derived the fo...

plus de 13 ans il y a | 3 réponses | 0

3

réponses

Réponse apportée
Optimization Simple search
I know I can use [value index] = min(array) however I am wanting to write my own loop for this. I just want the loop to outp...

plus de 13 ans il y a | 0

Question


Optimization Simple search
I got a quick question, lets say I have an array of numbers for example [ 9 3 2 7 1 8 ] and I want to find the minimum value ie...

plus de 13 ans il y a | 8 réponses | 0

8

réponses

Réponse apportée
MATLAB Derivative
So I have been playing with code and I have came up with the following: %% Given Definitions dV=1.4*10^4; %units are in ...

plus de 13 ans il y a | 0

Question


MATLAB Derivative
The spacecraft’s electric thruster has an efficiency given by Eff= 1-(((Isp-5000)^2)/(5000^2)) where Isp is the spec...

plus de 13 ans il y a | 1 réponse | 0

1

réponse

Réponse apportée
Plotting Error
my new code looks like this (I needed a scaler value for error so I left it in my code. %% Analytical simplify(dso...

plus de 13 ans il y a | 0

Réponse apportée
Plotting Error
I have tried using figure(2) however, I do not know which array to call my error and how to plot it I am a little confused....

plus de 13 ans il y a | 0

Question


Plotting Error
The following is my code, everything works how I want it to but I need to plot the error on another plot, how do I do this? ...

plus de 13 ans il y a | 3 réponses | 0

3

réponses

Question


Percent Error
Below is some coding I have calculating percent error of Euler's method however there has to be a more efficient way to input th...

plus de 13 ans il y a | 1 réponse | 0

1

réponse

Question


Plotting help
I want to plot an anonymous function on the same plot of a numerical euler's method solution to a problem. My code is below (I h...

plus de 13 ans il y a | 1 réponse | 0

1

réponse

Question


Euler's Method
Using the Euler method solve the following differential equation. At x = 0, y = 5. y' + x/y = 0 Calculate the Numerical so...

plus de 13 ans il y a | 1 réponse | 0

1

réponse

Question


ODE analytical solution
How can I find the analytical solution to the following ode? y'+ x/y=0 when x=0 and y=5.

plus de 13 ans il y a | 1 réponse | 0

1

réponse

Question


Time step help within a while loop
Ok I have the following matlab code I have written I am trying to find the time,mass, and final temperature of a tank being fill...

plus de 13 ans il y a | 1 réponse | 0

1

réponse

Réponse apportée
L U decomposition
Yes, redefining the x like you said allowed the function to output what I was needing, however I must have an error in my coding...

plus de 13 ans il y a | 0

Réponse apportée
L U decomposition
I tried this but it still outputs my answer the same way, I originally had it as a lowercase x but I changed it to upper case af...

plus de 13 ans il y a | 0

Question


L U decomposition
Below I have a code written for solving the L U decomposition of a system of equations however I need my code to just output the...

plus de 13 ans il y a | 7 réponses | 3

7

réponses