Feeds
提问
Non-linear Algebraic 36 equations unsloved
Hi forum I have 36 Non-linear Algebraic equations with 36 unknowns to find out. 'solve' comand failed. 'fsolve' comand requ...
8 months 前 | 2 个回答 | 0
2
个回答提问
contour plot required for this code
K = 0.5; M = 0.5; p1 = 0.01; p2 = 0.01; p3 = 0.0; Pr = 2; Ec = 0.05; Q = 0.05; D = 10; b = 0.05; Bi = 0.15; p2v = linspace(0,0...
8 months 前 | 1 个回答 | 0
1
个回答提问
ccdesign help to create this calculation
exp = ccdesign(3,'type','circumscribed'); exp(exp>=1) = 1; exp(exp<=-1) = - 1; EXP = subs(exp,{-1,0,1},vpa({0.01,0.02,0.03}));...
8 months 前 | 1 个回答 | 0
1
个回答已解决
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:...
8 months 前
提问
Rewriting in columns of Excel sheet
%% After running the code for p1 = 0.01; p2 = 0.0; p3 = 0.0; %Matlab writes the calculations of 'Cf' and 'Nu' in an excel shee...
8 months 前 | 1 个回答 | 0
1
个回答提问
Extract a figure from a pdf file
pdfFile = "example.pdf" % String function extractImagePDF(pdfFile) import java.io.* import javax.imageio.ImageIO.* import or...
9 months 前 | 0 个回答 | 0
0
个回答提问
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...
10 months 前 | 1 个回答 | 0
1
个回答已回答
matrix convertion needs modification
Here is the answer (attached pdf) to match the output.
matrix convertion needs modification
Here is the answer (attached pdf) to match the output.
11 months 前 | 0
已回答
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....
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....
11 months 前 | 0
已回答
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...
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...
11 months 前 | 0
提问
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...
11 months 前 | 1 个回答 | 0
1
个回答提问
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...
11 months 前 | 1 个回答 | 0
1
个回答已回答
scientific notation convertion of coefficients of a polynomial
FM = regexprep(char(vpa(f)),'([0-9]+\.[0-9]+)','${num2str(str2num($1),''%e'')}') This is working.
scientific notation convertion of coefficients of a polynomial
FM = regexprep(char(vpa(f)),'([0-9]+\.[0-9]+)','${num2str(str2num($1),''%e'')}') This is working.
11 months 前 | 0
| 已接受
提问
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...
11 months 前 | 3 个回答 | 0
3
个回答提问
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 ...
12 months 前 | 2 个回答 | 0
2
个回答提问
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...
12 months 前 | 2 个回答 | 0
2
个回答提问
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...
12 months 前 | 2 个回答 | 0
2
个回答提问
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(...
12 months 前 | 1 个回答 | 0
1
个回答提问
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 ...
1 year 前 | 1 个回答 | 0
1
个回答提问
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 ...
1 year 前 | 2 个回答 | 0
2
个回答提问
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) ...
1 year 前 | 1 个回答 | 0
1
个回答提问
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 ...
1 year 前 | 1 个回答 | 0
1
个回答提问
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;...
1 year 前 | 1 个回答 | 0
1
个回答提问
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;...
1 year 前 | 1 个回答 | 0
1
个回答提问
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...
1 year 前 | 1 个回答 | 0
1
个回答提问
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 = [...
1 year 前 | 2 个回答 | 0
2
个回答提问
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...
1 year 前 | 1 个回答 | 0
1
个回答提问
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 前 | 1 个回答 | 0
1
个回答提问
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 前 | 1 个回答 | 0
1
个回答提问
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 = ...
3 years 前 | 1 个回答 | 0