Community Profile

Last seen: Today 2021년부터 활동

All

배지 보기

#### Content Feed

보기 기준

제출됨

Guass Jordan elimination Method
This code is used to find solution for linear system AX=B or used to find the inverse of a matrix

약 2달 전 | 다운로드 수: 2 |

질문

How to solve PDE (r and t) with two regions?
Suppose I've a PDE which is valid in two regions. Can we solve this eqns with pdepe solver?

2달 전 | 답변 수: 0 | 0

### 0

답변

질문

can we plot convergence of a ode solver same as fsolve?
Using 'fsolve', we can use the below code to plot the convergence. x0 = [0,0]; opts = optimoptions(@fsolve,'Display','none','P...

3달 전 | 답변 수: 2 | 0

### 2

답변

질문

How to limit fsolve to find solution in Real numbers domain
Suppose, If I have some set of non-linear equations. I want to solve those equations with fsolve, but I want solution only in re...

3달 전 | 답변 수: 1 | 0

### 1

답변

문제를 풀었습니다

Longest run of consecutive numbers
Given a vector a, find the number(s) that is/are repeated consecutively most often. For example, if you have a = [1 2 2 2 1 ...

4달 전

문제를 풀었습니다

Rescale Scores
Each column (except last) of matrix |X| contains students' scores in a course assignment or a test. The last column has a weight...

4달 전

문제를 풀었습니다

Calculate Inner Product
Given two input matrices, |x| and |y|, check if their inner dimensions match. * If they match, create an output variable |z|...

4달 전

문제를 풀었습니다

Find MPG of Lightest Cars
The file |cars.mat| contains a table named |cars| with variables |Model|, |MPG|, |Horsepower|, |Weight|, and |Acceleration| for ...

4달 전

문제를 풀었습니다

Find the Best Hotels
Given three input variables: * |hotels| - a list of hotel names * |ratings| - their ratings in a city * |cutoff| - the rat...

4달 전

문제를 풀었습니다

Crop an Image
A grayscale image is represented as a matrix in MATLAB. Each matrix element represents a pixel in the image. An element value re...

4달 전

문제를 풀었습니다

Calculate BMI
Given a matrix |hw| (height and weight) with two columns, calculate BMI using these formulas: * 1 kilogram = 2.2 pounds * 1 ...

4달 전

문제를 풀었습니다

Plot Damped Sinusoid
Given two vectors |t| and |y|, make a plot containing a blue ( |b| ) dashed ( |--| ) line of |y| versus |t|. Mark the minimum...

4달 전

문제를 풀었습니다

Calculate a Damped Sinusoid
The equation of a damped sinusoid can be written as |y = A.&#8519;^(-&lambda;t)*cos(2πft)| where |A|, |&lambda;|, and |f| ...

4달 전

문제를 풀었습니다

Solve a System of Linear Equations
Example: If a system of linear equations in x₁ and x₂ is: 2x₁ + x₂ = 2 x₁ - 4 x₂ = 3 Then the coefficient matrix (A) is: 2 ...

4달 전

문제를 풀었습니다

Verify Law of Large Numbers
If a large number of fair N-sided dice are rolled, the average of the simulated rolls is likely to be close to the mean of 1,2,....

4달 전

문제를 풀었습니다

Find the Oldest Person in a Room
Given two input vectors: * |name| - user last names * |age| - corresponding age of the person Return the name of the ol...

4달 전

문제를 풀었습니다

Calculate Amount of Cake Frosting
Given two input variables r and h, which stand for the radius and height of a cake, calculate the surface area of the cake you n...

4달 전

문제를 풀었습니다

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:...

4달 전

질문

Plotting the function on a Sphere?
Let me explain, what I'm actually solving. I'm solving Diffusion-Reaction equation(3D) in spherical coordinates. ...

4달 전 | 답변 수: 1 | 0

### 1

답변

질문

How to plot a data in spherical coordinates?
Let me explain, what I'm actually solving. I'm solving Diffusion-Reaction equation(2D) in spherical coordinates(axis-symmetric ...

4달 전 | 답변 수: 1 | 0

### 1

답변

질문

how do I swap both axes in the current plot
I have symbollic function, I'm plotting that function using fplot syms y U = y^2/2 - (3*y)/4; yrange = [0,1]; fplot(U,yr...

4달 전 | 답변 수: 2 | 0

### 2

답변

질문

How to add color bar for streamslice plot?
i want to know intensity of streamlines, so i need color bar for streamslice plot. can anyone help in this regard. clc, clear...

5달 전 | 답변 수: 0 | 0

### 0

답변

질문

how to remove arrows in streamslice plot?
I want to remove arrows from this plot. can anyone help in this regard. clc, clear, close; X = linspace(0,1.5); Z = linspac...

5달 전 | 답변 수: 2 | 0

### 2

답변

질문

Differential algebraic eqn solving using ode15s
I've a 6Differential_Equations's and 6Algebraic_Equations's, with initial condition. when I'm excecuting the code i'm getti...

9달 전 | 답변 수: 1 | 0

### 1

답변

질문

Coupled Mass and energy equations using bvp4c
clc,clear,close global Pem Peh Da b U yw yf Pem = 2000; Peh = 500; Da = 1e8; b = 0.015; U = 1; yw = 0.9; yf = 0.0503...

12달 전 | 답변 수: 1 | 0

### 1

답변

질문

How to get the numerical value from Matlab - comsol server?
I connected Matlab to COMSOL server and created a model. The model describes flow past hot cylinder in a rectangular channel..I ...

1년 이상 전 | 답변 수: 0 | 0

답변