photo

Muhammad Usman


Last seen: 23 jours il y a Actif depuis 2011

Followers: 0   Following: 0

Message

PhD (Scholar) Mathematics

Statistiques

All
MATLAB Answers

53 Questions
6 Réponses

Cody

2 Problèmes
77 Solutions

RANG
5 883
of 300 847

RÉPUTATION
4

CONTRIBUTIONS
53 Questions
6 Réponses

ACCEPTATION DE VOS RÉPONSES
45.28%

VOTES REÇUS
0

RANG
 of 21 094

RÉPUTATION
N/A

CLASSEMENT MOYEN
0.00

CONTRIBUTIONS
0 Fichier

TÉLÉCHARGEMENTS
0

ALL TIME TÉLÉCHARGEMENTS
0

RANG
8 826
of 171 279

CONTRIBUTIONS
2 Problèmes
77 Solutions

SCORE
813

NOMBRE DE BADGES
4

CONTRIBUTIONS
0 Publications

CONTRIBUTIONS
0 Public Chaîne

CLASSEMENT MOYEN

CONTRIBUTIONS
0 Point fort

NOMBRE MOYEN DE LIKES

  • MATLAB Central Treasure Hunt Finisher
  • Thankful Level 4
  • Creator
  • Promoter
  • Commenter
  • Knowledgeable Level 1
  • First Review
  • First Answer
  • Solver

Afficher les badges

Feeds

Afficher par

Question


How to solve 2nd order BVP using Chebyshev Spectral Method?
Hi, I am tring to solve the following BVP using Chebshev Spectral Method: with boundary conditions: I am following the cod...

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

1

réponse

Question


How to find the order of the power of A matrix?
Hi, I want to calculate the order of the power matrix A. Here order doesn't mean for rows into columns but the power n of the ma...

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

2

réponses

Réponse apportée
How can I solve this?
% Solve the system of equations starting at the point [0,0,0]. % PL = x(1); c = x(2); k = x(3); % Initial guess is [0,0,0], yo...

environ 3 ans il y a | 0

Question


Problem in implementing Echelon Form and Solve System of Linear Equations
Here is my code: A = [3 2 1;-4 5 7;1 0 -9]; b = [1;4;5]; % Solving System of Linear Equations by using built-in command for i...

environ 3 ans il y a | 1 réponse | 0

1

réponse

Question


How to do manual operation of cross multiplication or substitution?
If syms A B x y = A*x^2 + B*x; dy = diff(y) d2y = diff(dy) then how to get where d2y is the second derivation; using subs o...

environ 4 ans il y a | 1 réponse | 0

1

réponse

Question


Optimize legend command?
Hi, I am struggling with LaTeX in legend, so far I wrote legend like: legendStrings = string(n); l = legend(legendStrings); s...

environ 4 ans il y a | 1 réponse | 0

1

réponse

Question


What's the problem with this simple anonymous function?
Here's an simple code: clear all; clc; close all; n = 1:3; for i = 1:numel(n) %numel is used if someother time I'll use negat...

environ 4 ans il y a | 1 réponse | 0

1

réponse

Question


How to adjust initial condition to nondimensionalization of coupled ODE?
Here is the code for dimenional and non-dimensional form of coupled ODEs using ode45, but both results are not agreeing. Please ...

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

0

réponse

Question


ODE solution using Fourier series
Hello, I am trying to solve first order ode () using Fourier Series. I wrote the code, but I was doing something, please idetif...

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

1

réponse

Question


Calling Euler Method to solve Shooting Method
Hi, I am trying to solve a BVP: y''(x) +5y'(x)+4y(x) = 1 with boundary conditions y(0) = 0 and y(1)=1 using shooting method. ...

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

1

réponse

Question


How to correct the regenerated plot of given analytical solution of ODE?
for for The analytical solution for this ODE is given belown and written as MATLAB in code routine: for t = -log(1-a)...

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

0

réponse

Question


Addition of numbers in array as string
I am following these lines of code, but generating error when I do: x = randi([0,9],1,20); y = randi([0,9],1,20); x_new = st...

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

1

réponse

Question


Addition of numbers in array
Lets' say I have 2 vectors: x = [7 4 6]; y = [1 4 4]; But these are not just vector consider them as A number, i.e., 746 and ...

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

1

réponse

Question


Plot with smaller variation in input argument under user defined function?
I am stuck with a smaller concept that How to Plot with smaller variation in input argument under user defined function? For ex...

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

1

réponse

Question


How to save last three values from for loop?
I just got stuck to save the last three values of r from the for loop, please help me in this regard. yl = 1; rl = [0, yl] ; ...

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

1

réponse

Question


How to combine the result of for loop?
Here is a very simple line of code: x = 3; A = 1:x; for i = 1:length(A) y = repelem(A(:,i),i); Y = y(1,:) end I w...

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

1

réponse

Question


Sum and Difference across row and column
Let say there is square matrix of order n-by-n, and n is odd integer A = rand(3) A = 0.4218 0.9595 0.8491 0...

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

2

réponses

Réponse apportée
Trouble using fsolve with two non-linear equations and 3 parameter
I think it will works like in this way: function F = eql_coef(x) % x(1) == a % x(2) == d K_H2O = 20.999; K_OH = 1.0478; p ...

plus de 5 ans il y a | 0

Réponse apportée
Is this a bug in bar plot
I suggest you to use two additional lines of code highValue=10E15; y = [2 2 3*highValue; 2 5 6*highValue; 2 8 9*highValue; 2 1...

plus de 5 ans il y a | 0

Question


merge mat files with different size?
Hi, Consider I have different .mat files and I want to merge them all and remove the repeated values, but the first problem I a...

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

1

réponse

Question


need help to plot a mesh
I just want to mesh plot a dirac delta function, can somebody help me to do so. I wrote some lines of code to plot dirac delta ...

environ 6 ans il y a | 1 réponse | 0

1

réponse

Question


What is the error in this computation?
Here I want to plot a simple sum. I computed it manually by iterating different values, and then did it same by using for loop,...

environ 6 ans il y a | 1 réponse | 0

1

réponse

Question


Error in computing numerical solution?
I am enable to compute numerical solution, as it generates weird Initial conditions (may be) compared to the inintial value of U...

environ 6 ans il y a | 1 réponse | 0

0

réponse

Question


Spectral Method without FFT in MATLAB
Can somebody guide me that how spectral method will be implemented in MATLAB to PDE (lets say homogeneous heat equation with per...

environ 6 ans il y a | 1 réponse | 0

0

réponse

Question


Specrtal Method for Heat Equation
I have one dimensional homogeneous heat eqaution. I want to solve it numerically using by supposing where Taking time deri...

environ 6 ans il y a | 1 réponse | 0

0

réponse

Réponse apportée
How do i use boundary conditions to find variables in an equation
if you let Lp=constant and make changes in soln = solve(u,eqns,vars); to soln = solve(eqns); you will get a structure soln ...

environ 6 ans il y a | 0

| A accepté

Réponse apportée
setting column of a matrix to zero
You haven't define constants a and z, and a vector mt, so I suppose a=-1, z=4 and mt=rand(1,50) and following lines of code to p...

environ 6 ans il y a | 0

Question


How to plot analytical solution in terms of Fourier Series
I want to plot the analytical solution of the equation given below: for x=-1:1 and t=0:0.4:2 for as suitable values of p. I...

environ 6 ans il y a | 1 réponse | 0

1

réponse

Question


How can i plot an inline function?
I wrote a code in which i got and inline function as U = Inline function: U(p,t,x) = (372863112183097.*exp(500....

environ 6 ans il y a | 2 réponses | 0

2

réponses

Réponse apportée
Adjust subscript style / height
use the following after the plot command xlabel("y_{" + n + "}", 'Interpreter', 'tex') %for alphabet and xlabel(" \Omega_{"...

plus de 6 ans il y a | 0

Charger plus