Community Profile

# Amit Bhowmick

Last seen: 1 month ago Active since 2021

My area of interest is numerical methods in Engineering. Especially I do write code (Matlab, C, Jupiter Notebook, COMSOL-JAVA application building, and Fortran) to solve various deferential equations (IVP and BVP) using the finite element method, finite difference method, and others for my research work. I am interested to work on developing new code in my field.

All

#### Content Feed

View by

could anyone help me how to generate two different random numbers of same value.
Check the values you will alyas get zero that is they are not equal. More preciesly probability of getting same value is very le...

5 months ago | 0

A moving line plot between two points in MATLAB figure
For large number of iteration use loop accordingly. clearvars close all clc x1=0.1;y1=0.2; x2=0.3;y2=0.4; x3=0.5;y3=0.6;...

5 months ago | 1

| accepted

Only returning NaNs when trying to do a double for loop
use this mean(sivTotEASE(m-1:m+1,n-1:n+1),"omitNan")

5 months ago | 0

| accepted

Find a variable to make equation = 0
use fzero or fsolve to find the roots.

5 months ago | 0

plotting 3d graph
x = -100:25:100 ; y = 600:120:1500 ; [X, Y] = meshgrid(x, y); Z = 3 *X + 2 ./(Y); surf(X, Y, Z); fminx=min(abs(Z),[],1) fm...

5 months ago | 0

| accepted

Deleting specific numbers from a textfile
Try this and Adust output variable type as per your choice. clear all close all clc fid=fopen('experiment2.txt','r') ln...

5 months ago | 0

| accepted

How to find tangent of a curve and find the distance from the centre?
If you have xdata ydata get the equation of the curve using cfit tools.

5 months ago | 0

draw graphs of the functions y=cost(x), y=x for 0<=x<=2 on the same window
clear all close all clc x=0:0.01:2; figure(1),plot(x,cost(x))%cost function as defined by you hold plot(x,x)

5 months ago | 0

Need help to find min(abs(dL==0)) for every column individually
Check it out dL =L2- L1; [dL_min,X_f]=min(abs(dL),[],1)

5 months ago | 0

Solving Discretized Multivariables System of ODEs
use pdepe

5 months ago | 0

HOW CAN I PLOT THIS?
Please check and confirm the correction clear all close all clc load('EXAMPLE.mat'); A=GIULIAMMEQ1.Var4%table2array(EXAMP...

5 months ago | 0

| accepted

m files wont open 2019b
Contact the developer of tool box for license issue

5 months ago | 0

Can this differential equation be solved using matlab pdepe solver?
Look at this https://in.mathworks.com/help/matlab/math/partial-differential-equations.html

5 months ago | 0

Integration of functions of 1 and 2 vaiables
You can use dirac function to define, syms x f=dirac(x) intf=int(f,x) %Indefinite integration intfd=int(f,x,[a b] %definit...

5 months ago | 0

Display output of ODE45 after error
I dont know your equation but you can use similar trick tspan = [0 5]; y0 = 20; [t,y] = ode45(@fun, tspan, y0); plot(t,y,'-o...

5 months ago | 0

storing variables in a table and retrieving them 1 by 1
use this, Lat1=T.Lat(1) %T is the table name Lat1=T.Lat(2) To create table use, Lat=[v1 v2 v3 v4]%Put valuea here Long=[v1 ...

5 months ago | 0

How to create a matrix with a for- loop
Check with this n=3; B=zeros(n); for ii=1:n for jj=1:n B(ii,jj)=rem(ii,2); end end

5 months ago | 0

Solved

Alternating sum
Given vector x, calculate the alternating sum y = x(1) - x(2) + x(3) - x(4) + ...

5 months ago

Solved

Given a and b, return the sum a+b in c.

5 months ago

Solved

Determine whether a vector is monotonically increasing
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...

5 months ago

Solved

Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

5 months ago

Solved

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

5 months ago

Solved

Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

5 months ago