photo

Muhamad Mohd-Adly


Actif depuis 2017

Followers: 0   Following: 0

Message

MEng Mechanical Engineer student Year 2

Statistiques

MATLAB Answers

4 Questions
0 Réponses

RANG
105 238
of 300 338

RÉPUTATION
0

CONTRIBUTIONS
4 Questions
0 Réponses

ACCEPTATION DE VOS RÉPONSES
75.0%

VOTES REÇUS
0

RANG
 of 20 922

RÉPUTATION
N/A

CLASSEMENT MOYEN
0.00

CONTRIBUTIONS
0 Fichier

TÉLÉCHARGEMENTS
0

ALL TIME TÉLÉCHARGEMENTS
0

RANG

of 168 149

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 2
  • Thankful Level 1

Afficher les badges

Feeds

Afficher par

Question


"Unable to perform assignment because the size of the left side is 1-by-1 and the size of the right side is 51-by-1" appears from A(N-1, N-2) = aw; How to solve this? Not sure what it says... Maybe someone can help me?
%Data Given N = 51; mu = 0.1; %Pa dt = 0.01; %delta time dr = 0.0002; %radius between the points rho = 1000; %k...

plus de 7 ans il y a | 9 réponses | 0

9

réponses

Question


Hi, can anyone tell me what is the problem of this? It says "Operands to the || and && operators must be convertible to logical scalar values."
function [ x,niter ] = NewtonRaphson( x0,tol,nmax ) %DATA N = 20; niter = 0; error = 1; x0 = zeros(N-1,1); ...

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

1

réponse

Question


Hi everyone, I have problem with Newton Raphson method. I dont really understand question 3 and question 4. From my code, can someone explain what should i put and where is my mistake. Attached file below..
Scrpit Body %question (3) & question (4) x0 =transpose(1:19); tol = 10e-10; nmax = 100; x,niter = NewtonRaphson( x0,tol...

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

0

réponse

Question


Hi, I'm new to Matlab. I keep getting Index exceeds matrix dimensions error. Maybe someone can help me with this.
function [ J ] = J_springs( x ) %Jacobian Matrix Jf %df/dx(i) df/dx(i-1) df/dx(i+1) %Initialization x=...

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

1

réponse