photo

DIP


Actif depuis 2017

Followers: 0   Following: 0

Statistiques

MATLAB Answers

19 Questions
5 Réponses

RANG
19 141
of 300 771

RÉPUTATION
2

CONTRIBUTIONS
19 Questions
5 Réponses

ACCEPTATION DE VOS RÉPONSES
68.42%

VOTES REÇUS
1

RANG
 of 21 084

RÉPUTATION
N/A

CLASSEMENT MOYEN
0.00

CONTRIBUTIONS
0 Fichier

TÉLÉCHARGEMENTS
0

ALL TIME TÉLÉCHARGEMENTS
0

RANG

of 170 941

CONTRIBUTIONS
0 Problèmes
0 Solutions

SCORE
0

NOMBRE DE BADGES
0

CONTRIBUTIONS
0 Publications

CONTRIBUTIONS
0 Public Chaîne

CLASSEMENT MOYEN

CONTRIBUTIONS
0 Point fort

NOMBRE MOYEN DE LIKES

  • Thankful Level 3

Afficher les badges

Feeds

Afficher par

Question


Optimization Routine for two equations, three unknowns
Hi, I am trying to set up a basic optimization routine in matlab. Equation 1: 3.6*x*y = 750 Equation 2: 19.8*x*y*z = 8...

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

1

réponse

Question


Shortening nested If statements
HI Friends, I am trying to shorten this nested if statement, is there a way to make it more compact ? GR = [3.78 2.0...

presque 8 ans il y a | 1 réponse | 0

1

réponse

Question


Plot multiple plots on the same graph
Hi , I wish to plot these graphs as a function of Tpack % Temperature of battery pack. There are two temperatures , Tpack = [...

presque 8 ans il y a | 2 réponses | 0

2

réponses

Question


Combine multiple if statements for something more compact
Friends, I'm trying to refine my code.It works fine but I have four if conditions which I want to make more efficient. Is the...

presque 8 ans il y a | 2 réponses | 0

2

réponses

Question


Create a single for loop for multiple conditions
Hi, I have a for loop with several calculations. There are three conditions for which the calculations are more or less the sa...

presque 8 ans il y a | 1 réponse | 0

1

réponse

Question


How to plot a parametric study on a single graph
Hi, Suppose I have a code a= [1 32 51 24 5 23] for i=1:length(a) c=a(i)+d; b=a(i)+e; end ...

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

1

réponse

Question


How to plot symbolic variable that has a polynomial ?
Hi all. I have a code, i need to plot y vs the syms variable Lambda_avg as given in the last line. How do i plot so that i ca...

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

1

réponse

Question


How to know what at iteration is the minimum value occuring?
Hi All Suppose I have a matrix A [ 9 8 6 7 8 2 5 9 6 ] . The minimum occurs at the 6th element. What code does one use to fin...

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

1

réponse

Question


Optimization Function for Costs (fminbnd)
Hi, I have to optimize the cost using the fminbnd function I am getting a scalar error while the code runs the fminbnd fun...

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

1

réponse

Question


Subscript indices Error for a Plot
Hi I am trying to calculate power but I cant seem to find out what is wrong (im a novice in matlab) The error is in the line f...

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

1

réponse

Question


Trouble with ODE45 for an array of values
Hi, I have an equation udC/dx=R, where C and R are arrays. I've written a code but its giving a linear plot. Need help ...

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

2

réponses

Question


Finite Difference Scheme Error
Hi, I am trying to plot this equation , i am unable to understand how to debug the matrix error on the equation. % Soluti...

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

1

réponse

Question


How to compute a finite difference with variables that are arrays
<</matlabcentral/answers/uploaded_files/74497/Screenshot_13.png>> Hi, I have to compute the above. The methodology is ...

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

0

réponse

Question


Setting up ODE in Matlab for ODE 45 solver
Hi, I am having difficulty setting this problem up for the ODE45 solver. It is a kinetics equation, relating R (rate constant...

presque 9 ans il y a | 1 réponse | 0

1

réponse

Réponse apportée
How to solve an ODE with an array using ODE45?
% Solution 4: Chemical Species Concentration as a Function of Axial Distance clc clear % Constants L = 0.12; N...

presque 9 ans il y a | 0

| A accepté

Réponse apportée
Trouble with ODE45 for an array of values
% Solution 4: Chemical Species Concentration as a Function of Axial Distance clc clear % Constants L = 0....

presque 9 ans il y a | 0

| A accepté

Question


How to solve an ODE with an array using ODE45?
I have an ODE, udY/dx=S , where Y and S are arrays , how do I solve it using ODE45 ???

presque 9 ans il y a | 3 réponses | 0

3

réponses

Réponse apportée
End a Calculation if a condition is satisfied.
while abs(rk4-imp)>=0.00001 N_euler = N_euler+1; delxeuler=L/(N_euler-1); for j=1:N_euler-1 ...

presque 9 ans il y a | 0

| A accepté

Réponse apportée
Executing the while loop
Figured it out ! Thanks for your help ! % RK4 Method vs Implicit Euler Method clear all;close all; clc; form...

presque 9 ans il y a | 1

| A accepté

Question


Executing the while loop
Guys there is something wrong with my while loop. The while loop is supposed to run for 7389 iterations , but it only does two. ...

presque 9 ans il y a | 3 réponses | 0

3

réponses

Question


End a Calculation if a condition is satisfied.
I have a calculation to perform: Part A (Number of iterations are known) ODE is solved using Runge Kutta 4 and I get an a...

presque 9 ans il y a | 2 réponses | 0

2

réponses

Question


How to break a code when conditions are met
So I have a code with 2 numerical methods - backward euler and Runge kutta. What I want to do is create a program that calculate...

presque 9 ans il y a | 1 réponse | 0

1

réponse

Réponse apportée
Stopping an Iteration when conditions have been met
Can anyone suggest to me in general how you dynamically change the iterations ? I want the iteration of the euler implicit to ...

presque 9 ans il y a | 0

Question


Stopping an Iteration when conditions have been met
Hi guys, im trying to create a loop where I have to compare the euler implicit and RK4 method to compare the accuracy. The impli...

presque 9 ans il y a | 3 réponses | 0

3

réponses