Community Profile

photo

MINATI PATRA


Last seen: 3 giorni fa Attivo dal 2018

Statistiche

  • Thankful Level 4
  • First Answer

Visualizza badge

Content Feed

Visto da

Domanda


Modification needed in the following code to run
status = mkdir('D:\ADM2024\ADM1'); cd D:\ADM2024\ADM1 filename = 'ADM1.xlsx'; d = readtable(filename); T = fillmissing(d,"previ...

19 giorni fa | 0 risposte | 0

0

risposte

Domanda


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

circa un mese fa | 0 risposte | 0

0

risposte

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

circa un mese fa | 0

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

circa un mese fa | 0

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

circa un mese fa | 0

Domanda


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

circa 2 mesi fa | 1 risposta | 0

1

risposta

Domanda


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

circa 2 mesi fa | 3 risposte | 0

3

risposte

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

2 mesi fa | 0

| accettato

Domanda


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

2 mesi fa | 3 risposte | 0

3

risposte

Domanda


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 mesi fa | 2 risposte | 0

2

risposte

Domanda


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

3 mesi fa | 2 risposte | 0

2

risposte

Domanda


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

3 mesi fa | 2 risposte | 0

2

risposte

Domanda


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

3 mesi fa | 1 risposta | 0

1

risposta

Domanda


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

3 mesi fa | 1 risposta | 0

1

risposta

Domanda


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

3 mesi fa | 2 risposte | 0

2

risposte

Domanda


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

4 mesi fa | 1 risposta | 0

1

risposta

Domanda


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

4 mesi fa | 1 risposta | 0

1

risposta

Domanda


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

4 mesi fa | 1 risposta | 0

1

risposta

Domanda


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

4 mesi fa | 1 risposta | 0

1

risposta

Domanda


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

8 mesi fa | 1 risposta | 0

1

risposta

Domanda


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 = [...

8 mesi fa | 2 risposte | 0

2

risposte

Domanda


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 mesi fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 2 anni fa | 2 risposte | 0

2

risposte

Domanda


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

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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) = ...

oltre 2 anni fa | 0 risposte | 0

0

risposte

Domanda


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!

oltre 2 anni fa | 0 risposte | 0

0

risposte

Domanda


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

oltre 2 anni fa | 2 risposte | 0

2

risposte

Carica altro