vbbv -凯发k8网页登录
pec
programming in matlab applied to interdisciplinary engineering fields
统计数据
26
1,002
12
cody0 个问题
29
排名
63
of 277,883
声誉
2,714
贡献数
26
1,002
回答接受率
92.31%
收到投票数
222
排名
4,538 of 18,801
声誉
282
平均
3.00
贡献数
12
下载次数
58
all time 下载次数
2725
排名
11,806
of 129,096
贡献数
0 个问题
29
评分
335
徽章数量
2
贡献数
0 帖子
贡献数
0
平均
贡献数
0
平均赞数
content feed
delete the hold on commands that are present after the scatter commands and place it before the scatter commands. then add t...
3 hours 前 | 0
if you use vpaintegral instead of int and it can be solved using the vpasolve function.. also, the integral needs to done w.r....
5 hours 前 | 0
q = [0:0.01:2]; figure plot(20*q.^2, q.^2) hold on plot(20*q.^2-50, q.^2)
19 hours 前 | 0
| 已接受
l1=1000; l2=2000; b1=10; h1=10; b2=20; h2=20; a1=b1*h1; a2=b2*h2; e1=70e3; e2=205e3; c1=cos(deg2ra...
22 hours 前 | 0
| 已接受
may be the error refers to the variable depth for which there is no value field.. can you check whether its a simple variable...
1 day 前 | 0
| 已接受
from the below error, its visible that al01 & sigma09 are both scalar variables and difference between them is also scalar. they...
2 days 前 | 0
| 已接受
for each iteration of i , the j counter is reduced by n- i instead of n-1 n = 5; length = 0; for i=1:n-1 disp(['l: ...
2 days 前 | 0
| 已接受
hi mauzmi ali , in the app designer code, the editfield component accepts numeric inputs. by default the matlab editfield com...
3 days 前 | 0
| 已接受
hi matrix, what you need in this case is not for loop but a while loop which can avoid writing a loop 600 times and hence mu...
3 days 前 | 0
x = 0:0.1:4; f = x; g = -2*log10(0.01 10e-4*x); plot(x,f,x,g); func = @(x) 2*log10(0.01 10e-4*x) x; res = bisect(func, 0,...
4 days 前 | 0
if you want partioning using subplot titles then below is one method clc; close all; clear all; x = [0 1 2 3 6 4 5 8 5]; y ...
4 days 前 | 0
you can modify the for loop something like this as shown below x = rand(1,10); z = rand(1,10); w = rand(1,10); k = 0; fi...
4 days 前 | 0
| 已接受
use xticklabels function to modify the order of axis labels x1 = {'6','5','4','3','2','1'}; x2 ={'12','11','10','9','8','7'}...
5 days 前 | 0
try to use a for loop to plot the resulting expression in 3rd dimension as shown below since surf function plots 2d matrices o...
5 days 前 | 0
sis.on={d_(:,2)};
5 days 前 | 0
writematrix (x.','testxxx.xlsx','writemode','append') use the transpose for x
6 days 前 | 0
chisquare = chi2inv(0.95,2); %inverse of the chi-square cumulative distribution function with 2 degrees of freedom at p = 0.95 ...
6 days 前 | 2
| 已接受
did you write custom function with name contours or you wanted to use matlab's built-in function contour .? % custom function...
6 days 前 | 0
ldt{i} = ldt{i} =
7 days 前 | 1
from the reference link given by @madhan ravi, you can use struct2cell function and later convert the cell to double array usi...
7 days 前 | 0
clc; clear; close all x=[0 0.1 0.2 0.3 0.4 0.5]; y=[1 7 4 3 5 2]; h=0.1; n=(max(x)-min(x))/h suma=0; for i=2:n aux=h*...
7 days 前 | 0
the below version of code runs without errors. clear; syms x t % r=24; deltamu = 0.5; sigma = 5; lambda = 1; cstar = 7;...
8 days 前 | 0
% pr = (md_msf_seclatent_steam)./(ncqsum); % performance ratio pr = rand(365,1); pr_ave=sum(pr)/365; ...
8 days 前 | 0
if you do a check before the if-elseif-else-end statement, the values of m, m1 and n , n1 are same that leads to the if-elsei...
8 days 前 | 0
| 已接受
syms w0 a b t m f0 eqn = 2*b*w0*cos(w0*t) - 2*a*w0*sin(w0*t) == (f0*cos(w0*t))/m; sol = solve(eqn, [b]) b = subs(sol,t,0)
9 days 前 | 1
use smoothdata function for that frequency range, or apply a-weighting filter for the spl data
10 days 前 | 0
if (x1 x2 x3)>75 app.editfield_5.value=disp('ok'); elseif (x2 x3 x4)>75 you need to use parenthesis ( ) in the if-...
11 days 前 | 0
if you change the meshgrid limits in the below line [x, y] = meshgrid(-1/10:0.005:1/10); and de-normalize the i variable in t...
11 days 前 | 0
| 已接受
d = load('data.mat'); figure quiver(d.xposition,d.yposition,d.uvelocity,d.vvelocity,'b','autoscalefactor',2.5) hold on quive...
12 days 前 | 0
syms x f=inline('(4*exp(-x/10))*rectangularpulse((x-4)/3)','x'); int((f(x))^2,x)
12 days 前 | 0
| 已接受