Amit Bhowmick
Followers: 0 Following: 0
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.
Feeds
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...
3 years 前 | 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;...
3 years 前 | 1
| 已接受
Only returning NaNs when trying to do a double for loop
use this mean(sivTotEASE(m-1:m+1,n-1:n+1),"omitNan")
3 years 前 | 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...
3 years 前 | 0
| 已接受
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...
3 years 前 | 0
| 已接受
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.
3 years 前 | 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)
3 years 前 | 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)
3 years 前 | 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...
3 years 前 | 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
3 years 前 | 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...
3 years 前 | 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...
3 years 前 | 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 ...
3 years 前 | 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
3 years 前 | 0
Merging figures with subplots into a large figure with subplots
Hi Lars, I had written this code to extract data from a figure file. Hope few modification will work for you. clear all; clos...
3 years 前 | 0
Error in defining symbolic function
Hope this will work close all; clear; clc; syms a b g(a,b) %Changes g = output(a,b); function out = output(a,b) fo...
3 years 前 | 1
| 已接受