Community Profile

photo

MINATI PATRA


Last seen: 4 days ago Active since 2018

Statistics

  • Thankful Level 4
  • First Answer

View badges

Content Feed

View by

Question


Can this code be rearranged to run successfully
% I got the following code from: https://in.mathworks.com/help/deeplearning/ug/solve-partial-differential-equations-using-deep-l...

7 days ago | 0 answers | 0

0

answers

Answered
matrix convertion needs modification
Here is the answer (attached pdf) to match the output.

21 days ago | 0

Answered
matrix convertion needs modification
Dear Matt J Your idea needs some modification for the following work, Please get into: ('0' is not coming) P = [T.p1 T.p2 T....

21 days ago | 0

Answered
MatLab does not reads Excel sheet properly
Sorry for the inconvinience. Here is the excel sheet attached. I want to run the code with variations of different parameters...

21 days ago | 0

Question


MatLab does not reads Excel sheet properly
status = mkdir('D:\PK90'); cd D:\PK90 filename = 'sample111.xlsx'; T = readtable(filename); P = 2*T.A + 3*T.B + 4*T.C + 5...

22 days ago | 1 answer | 0

1

answer

Question


matrix convertion needs modification
I want to create a matrix with entries -1, 0, and 1 but it gives only -1 and 1, how to adjust x = [9 3.6 9; 11 3.6 9; 9 4...

25 days ago | 3 answers | 0

3

answers

Answered
scientific notation convertion of coefficients of a polynomial
FM = regexprep(char(vpa(f)),'([0-9]+\.[0-9]+)','${num2str(str2num($1),''%e'')}') This is working.

1 month ago | 0

| accepted

Question


scientific notation convertion of coefficients of a polynomial
syms x f = - 0.042440155 + 0.29476113*x + 0.47380563*x^2 - 0.17632127*x^3 + 0.038426007*x^4 - 0.005090693*x^5 + ... 0.0007...

1 month ago | 3 answers | 0

3

answers

Question


Read Excel and write the output in same sheet in three columns
status = mkdir('D:\PK90'); cd D:\PK90 filename = 'sample.xlsx'; % path to your file, e.g., 'D:\PK79\Book1.xlsx' % read the ...

2 months ago | 2 answers | 0

2

answers

Question


Read Excel and write output
R = xlsread('Book1.xlsx') %% Excel sheet (Book1.xlsx) is in 'D' drive A = 1; B = 2; C = 3; Nu = A*p1 + B*p2 + C*p3; I want Ma...

2 months ago | 2 answers | 0

2

answers

Question


Can Matlab write the output directly in a word file
status = mkdir('D:\PK'); cd D:\PK syms y(t) a b eqn = diff(y,t,2) == a^2*y; Dy = diff(y,t); cond = [y(0)==b, Dy(0)==1]; ySo...

2 months ago | 2 answers | 0

2

answers

Question


assemble it so that it will run
% this function estimates the correct value of a for big Pr cases function f=big_Pr(a) x0=[0 0 a(1) 1 a(2)]; [t,Y]=ode15s(...

2 months ago | 1 answer | 0

1

answer

Question


Excel sheet work in specific column
status = mkdir('D:\PK7\kpk'); cd D:\PK7\kpk Fr = .1; M = .2; Kp = 0.50; lambda = 0.1; Nr = 0.1; Pr = 7; Rd = 0.5; Nb = 0.5; Nt ...

2 months ago | 1 answer | 0

1

answer

Question


Need a space in strcat comand
V = [1 2 3 4 5]; strcat ('R = ', strjoin(string( V),', ')) I got the following answer while running the above code ...

2 months ago | 2 answers | 0

2

answers

Question


Why do I receive the error while running the code?
coupled_dtm_bvp_solver() function coupled_dtm_bvp_solver syms x u(x) v(x) w(x) eq1 = diff(u, x, x, x) - u^2 + v - sin(w*x) ...

3 months ago | 1 answer | 0

1

answer

Question


Want to save in a selected folder
%% Is it possible to save (.m fig) all the Figures (say 10 numbers) in a selected folder (say, D:\PKP) after running the code ...

3 months ago | 1 answer | 0

1

answer

Question


import and export of excel sheet work
Fr = .1; M = .2; Kp = 0.50; lambda = 0.1; Nr = 0.1; Pr = 7; Rd = 0.5; Nb = 0.5; Nt = 0.5; H = 0.01; Ec = 0.01; Le = 2; Sr = 1;...

3 months ago | 1 answer | 0

1

answer

Question


Can the arrow came directly following increasing OR decreasing behaviour of the curves
Fr = .1; M = .2; Kp = 0.50; lambda = 0.1; Nr = 0.1; Pr = 7; Rd = 0.5; Nb = 0.5; Nt = 0.5; H = 0.01; Ec = 0.01; Le = 2; Sr = 1;...

3 months ago | 1 answer | 0

1

answer

Question


Equations and Boundary conditions are Unequal
%%% THe present code is of the attached (Model#02) pdf, need modification to run. %%% REFERENCE: This type of work was done in...

7 months ago | 1 answer | 0

1

answer

Question


surf plot is required
A = 1; M = 1; Da = 0.1; L = 0.1; Pr = 1; Nb = 0.1; Nt = 0.5; s = 0.5; Le = 2; Kc = 1;B = 0.5;Lv = linspace(-2,2,100); for M = [...

7 months ago | 2 answers | 0

2

answers

Question


Multiple facecolor in one fsurf plot
M = 1; m = 0.1; n = 3; Pr = 3; Ec = 0.1; N = 0.5; lp = 0.01; Bi = 0.5; wf = 100; om = 0.1; %w1 = 10; w2 = 10; syms w1 w2 for...

8 months ago | 1 answer | 0

1

answer

Question


symbolic integration needed in the present code
syms h q x f(x) f0 f1(x) f2(x) f3(x) f = f0 + f1*q + f2*q.^2 + f3*q.^3; Eq0 = diff(f,x) - diff(f0,x); Eq1 = diff(f,x) - f^2; ...

2 years ago | 1 answer | 0

1

answer

Question


dsolve problem gives error
M = 2; Kp = 5; Gr = 0.1; Gc = 0.1; L = 0.05; Pr = 1; S1 = 0.1; Sc = 0.78; Kc = 0.1; syms x f0(x) g0(x) h0(x) f(x) g(x) h(x) e...

2 years ago | 1 answer | 0

1

answer

Question


What changes are needed to run the code
Psi = pi/2; L1 = 0.1; L2 = 0.1; L = 0.1; Pr = 1; M = 5; Ec = 0.5; Nb = 0.5; Nt = 0.1; fw = 0.5; Q = 0.1; Le = 2; Kc = 1; A = ...

2 years ago | 1 answer | 0

1

answer

Question


Help me to run the code
% file modified by sujogya %dated 9.1.2021 % min z=x1-3x2+2x3 % max z'=-x1+3x2-2x3 % s.t. %3x1-x2+2x3<=7, %-2x1+4x2+0x3<=12,...

2 years ago | 2 answers | 0

2

answers

Question


hold on option is not working in the present code
M = 0.2; L = 0.01; K = 0.1; G = 2; Pr = 2; s = 0.1; Ec = 0.01; m = 0.5; R = 0.5; fw = 0.5; a = 1; n = 0.5; for M = [0 .1 .2] ...

2 years ago | 1 answer | 0

1

answer

Question


Can the code be modified and matched with the attached pdf
%% Can someone modify the code to run and match figs in the attached pdf AND also want to draw some surf plot % u_t(x,t) = ...

2 years ago | 0 answers | 0

0

answers

Question


mixed odes and pdes in matlab solver
Can it be possible to solve Eqns. (26) - (30), To draw all the figs of attached pdf. Is there any solver? Help me!

2 years ago | 0 answers | 0

0

answers

Question


Legend option and numbering in boxes
y1 = [85 83 82 87; 81 79 84 86; 82 81 89 87; 89 85 87 80; 90 91 85 87]; figure(1), bar(y1,'stacked'); labels = arrayfun(@(value...

2 years ago | 2 answers | 0

2

answers

Question


vpa(Fv,5) can not consider all the terms
Fv = - 4.4574e-25*x^21 + 3.0044e-21*x^20 - 5.6303e-17*x^19 + 1.7379e-13*x^18 - 1.4891e-9*x^17 + 1.3636e-8*x^16 - 2.8806e-9*x^15 ...

2 years ago | 1 answer | 0

1

answer

Load more