//www.tatmou.com/matlabcentral/answers/questions?term=answered_by_id%3A98057 MATLAB的答案——新问题匹配answered_by_id: 98057 2023 - 01 - 04 - t11:56:28z 标签:www.tatmou.com, 2005:问题/ 510305 2020 - 03 - 11 - t11:56:30z 2023 - 01 - 04 - t11:56:28z 独立光伏阵列产生负电压。 我想比较的力量从我的光伏阵列和电池负载。我注意到光伏阵列发电是负的,我不知道为什么。输出功率也非常低相比,我来自光伏阵列输入和电池。请参考附加的PDF文件的图像。请我想在这个问题上寻求帮助。 EngTat涌 //www.tatmou.com/matlabcentral/profile/authors/14453027 标签:www.tatmou.com, 2005:问题/ 90552 2013 - 10 - 17 - t17:28:59z 2022 - 04 - 02 - t07:23:45z FPLOT,如何定义步长沿轴? 我试着理解FPLOT的可能性和参考文档(相关短语下面的引用)。´但我不了解步长沿轴,然后Y值的计算,就可以手动自动定义或定义。在17 - 21页区间MATLAB R2013b编程基础文档给出一个例子使使用FPLOT: s = @ (x)罪(1. / x);范围= [0.01,0.1];fplot(年代,范围)fplot函数的文档(帮助fplot)然后我发现这:fplot(有趣,LIMS, N)与N > = 1块函数的N + 1分。默认的N等于1。最大的步长是限制(1 / N) * (XMAX-XMIN)。(X, Y) = fplot(乐趣,LIMS,…)返回X和Y, Y =乐趣(X)现在我的观察:如果编码如下:s = @ (X)罪(1. / X);范围= [0.01,0.1];[axisX, axisY] =情节(范围),然后我收到注册377 x轴值。 While MATLAB decided that the function should be plotted based on 377 calculated steps, I for instance would like it to become calculated in the given range in 20 steps along the X-axis and therefore tried to type: clear axisX axisY; [axisX,axisY]=fplot(s,range,20) But I again receive 377 values registered, but not as expected only 20. Could you explain me, how the step size along the X-axis, for which the Y values are then calculated, becomes automatically defined or can be manually defined within/by the FPLOT syntax? 马可 //www.tatmou.com/matlabcentral/profile/authors/4599910 标签:www.tatmou.com, 2005:问题/ 90308 2013 - 10 - 15 - t18:59:17z 2021 - 10 - 21 - t02:02:42z 测试训练NARX神经网络新的外部输入 我有一个时间序列NARX神经网络已经训练有素的外部输入,x (t),以及输出的值在一定的步伐(d过去y的值(t))。网络体系结构是见我上传的文档。现在我想把训练网络,输入一个新的外部输入x (t),并得到一个时间序列的预测输出。准备输入对输出我需要使用preparets x (t)的正确形式inputStates layerStates,但似乎从一系列目标需要的文档。因为这是一个测试,我没有目标系列,我该怎么办?此外,由于我不知道输出y (t)是什么(因为这测试),将删除所有对我有意义的反馈(过去的y值(t)隐藏层?谢谢你,梅 //www.tatmou.com/matlabcentral/profile/authors/4706421 标签:www.tatmou.com, 2005:问题/ 105270 2013 - 11 - 07 - t17:26:28z 2021 - 05 - 23 - t23:11:54z 我如何通过变量从一个GUI来另一个吗 嘿,我还挣扎传递变量从一个GUI到另一个使用句柄。我已经创建了一个GUI称为“主要”包括一个按钮“OK”和一个“a”编辑文本框。使用“OK”将打开一个第二GUI“main2”,应该返回一个变量的“e”。函数OK_Callback (hObject、eventdata处理)uiwait (main2);% main2 e = handles.e开放;集(handles.a '字符串' e);结束在“main2”我有一个变量函数计算的“e”“计算”,这是被称为后向编辑文本框中输入一个数字相关“d”。通过调试我发现“计算”返回正确的值。到目前为止都很酷。函数e =计算(c, d) e = c + d; end function d_Callback(hObject, eventdata, handles) c = str2double(get(handles.c,'string')); d = str2double(get(handles.d,'string')); handles.e = e; % All cool until here! set(handles.e,'string',e); guidata(hObject,handles); % Update handles structure uiresume; % back to main end What I'm struggling with is: How do I get "e" (or its handle) from "main2" into "main"? Also set(handles.e,'string',e) is not working. Anybody knows what's going on here? Thank heaps for any help! Gerrit //www.tatmou.com/matlabcentral/profile/authors/4784702 标签:www.tatmou.com, 2005:问题/ 105231 2013 - 11 - 07 - t10:12:40z 2021 - 01 - 06 - t10:08:21z 查表与改变表 你好,我有一个问题就是使用查表,现在我自己解决了通过实现一个函数在仿真软件(用户定义的脂肪酸),但我希望以某种方式与所提供的块。金宝app我想看一个向量,所以我想用soemthing像一维查找表,但我看的向量来自于另一个块,所以正在改变。在查找表块没有把桌子作为输入手段……我知道动态查找表,但是它的限制:在x”“严格单调递增。在我的例子中通常是减少并最终有一些值,不符合…希望有人能帮助我。谢谢你! 维吉尼亚州 //www.tatmou.com/matlabcentral/profile/authors/4355296 标签:www.tatmou.com, 2005:问题/ 90550 2013 - 10 - 17 - t17:21:04z 2020 - 07 - 17 - t14:26:10z Plotyy显示网格线轴 我用plotyy,我设法显示网格左边的功能使用“网格”,但我怎么显示网格线使用右边的功能? T //www.tatmou.com/matlabcentral/profile/authors/3553735 标签:www.tatmou.com, 2005:问题/ 90907 2013 - 10 - 21 - t05:25:03z 2020 - 07 - 14 - t08:28:27z 如何把一个标题colorbar ? 我有一个3 d表面冲浪(X, Y, Z)从视图与colorbar(0, 90),我想把一个标题。帮助指导讨论lcolorbar, TitleString ZlabelString但是没有例子,我迷路了。[X Y] = meshgrid (0:100 0:100);Z = Y;冲浪(X, Y, Z);视图(0,90);六氯苯= colorbar;? ? ? ? ? ?什么把标题放在旁边colorbar吗? ? ? ? ?也许就像集(get (hcb,“标题”),“cb标题”)但我不会问,工作…… Thanks. 罗斯 //www.tatmou.com/matlabcentral/profile/authors/2921485 标签:www.tatmou.com, 2005:问题/ 89870 2013 - 10 - 11 - t03:16:53z 2020 - 05 - 26 - t11:11:04z 在根轨迹图显示值不使用游标的数据 有大量的例子如何绘制根轨迹——使用rlocus函数。增益K可以从图表与数据显示游标。有无论如何显示这个值没有使用数据光标但Matlab代码。例如,我想给波兰人,阻尼,超过%,频率如果K = 10情节使用Matlab代码吗?谢谢 MatlabNewbie01232015 //www.tatmou.com/matlabcentral/profile/authors/2991567 标签:www.tatmou.com, 2005:问题/ 90261 2013 - 10 - 15 - t12:11:51z 2020 - 05 - 06 - t05:23:15z 如何使用训练网络预测未来值? 这就跟你问声好!我已经创建了神经网络使用nnstart: NAR;d = 10。我救了网络训练后workspase(名字:净)。现在我可以用这个训练网络预测未来10值? Dmitrii //www.tatmou.com/matlabcentral/profile/authors/4692064 标签:www.tatmou.com, 2005:问题/ 90631 2013 - 10 - 18 - t10:15:53z 2020 - 05 - 03 - t21:58:07z 我怎么能覆盖谷歌地球图片颤抖的情节? 你好,我想要覆盖一个谷歌图片颤抖情节但不知道从哪里开始。目的是显示当前速度礁。这将是伟大的如果有人可以告诉我正确的方向。 丹尼尔 //www.tatmou.com/matlabcentral/profile/authors/4428528 标签:www.tatmou.com, 2005:问题/ 104655 2013 - 11 - 01 - t20:40:40z 2019 - 12 - 20 - t06:55:02z 如何更新的价值传递函数块在运行时的仿真吗 例子我传递函数块包含(-kps-ki) / s。我需要更新的价值kp和ki基于输入(U)这一块。(或)如果U < x(值)需要设置kp = 0; ki = y其他需要设置kp = z; ki = 0;谢谢你提前,拉。 拉古 //www.tatmou.com/matlabcentral/profile/authors/4766187 标签:www.tatmou.com, 2005:问题/ 91170 2013 - 10 - 23 - t08:04:46z 2019 - 08年- 08 - t06:30:23z 定义colormap按照一定的变量。 嘿!我有成百上千的2维曲线在一个阴谋。曲线是由函数是一个随机变量。现在我想指定的曲线显示不同的颜色对随机变量使用的价值。管理这个的正确方法是什么? Hekseli //www.tatmou.com/matlabcentral/profile/authors/4142877 标签:www.tatmou.com, 2005:问题/ 90680 2013 - 10 - 18 - t15:47:52z 2019 - 06 - 11 - t09:54:03z 我怎么在for循环中组合多个情节? 你好所有的,我想情节在一个for循环,但它只情节过去的价值,因为它是overwritting之前的值。我的代码看起来像下面的:块= 5 x1 = 5 x1单元阵列单元阵列时间i =长度(块)情节(时间(i),块(我)不知道如何得到这个,所以它不会覆盖之前的值。谢谢你! 克里斯多夫 //www.tatmou.com/matlabcentral/profile/authors/1426690 标签:www.tatmou.com, 2005:问题/ 90031 2013 - 10 - 12 - t22:25:31z 2018 - 11 - 22 - t08:01:16z 显示在阶跃响应图阶跃响应信息 通常情况下,如果我想显示信息的阶跃响应(峰值、上升时间等)。我点击情节并选择“>峰值响应特征”,等等。我打算设计一个Gui(基本)阶跃响应将自动显示这些信息在运行时。步骤(处理。sys, axes_step stepinfo (sys)) %我有麻烦给stepinfo情节。如果我不能找到一种方法,我就这样吧,但是我想应该有一个方法。 MatlabNewbie01232015 //www.tatmou.com/matlabcentral/profile/authors/2991567 标签:www.tatmou.com, 2005:问题/ 90575 2013 - 10 - 17 - t22:11:10z 2018 - 01 - 24 t13:28:20z dB量表(对数尺度)的极图 这是我的函数。我怎么能显示它在dB规模?由于每个人都想帮助。θ= 0:0.01:2 *π;x = 60;% k *结果= (((cos(θ)。*(罪((x / 2)。* sin(θ))/ (x / 2)。* sin(θ))));极地(θ,结果) atarli //www.tatmou.com/matlabcentral/profile/authors/4713345 标签:www.tatmou.com, 2005:问题/ 91007 2013 - 10 - 21 - t23:43:28z 2017 - 11 - 09 - t21:04:37z 我如何执行一个k - means聚类分析的数据在一个单元阵列? 我有一个单元阵列和两个值- 10368细胞。我想执行一个k - means聚类分析的数据,但是每一次我试,我得到以下错误消息:未定义的函数的isnan输入参数类型的“细胞”。错误statremovenan(29)行wasnan = wasnan |任何(isnan (y), 2);错误kmeans(第125行)[~ wasnan X] = statremovenan (X);我怎样才能解决这个问题? 帕特里克 //www.tatmou.com/matlabcentral/profile/authors/4658282 标签:www.tatmou.com, 2005:问题/ 90347 2013 - 10 - 16 - t05:18:50z 2017 - 04 - 03 - t21:11:09z 我怎样才能得到的曲面图3变量 我有一个问题得到一个3 d图3变量我处理。我的代码的一个例子,问题是:% x, y和z矩阵组成的变量得到以下的实验x = 100×1矩阵y = 100×1矩阵z = 100×1矩阵我想把x和y和z;看到一个相应的z值x, y值。这个情节是曲面图。我读过关于网格和冲浪功能但不了解这将被应用在这里因为我有3种不同的x, y, z值。我将高兴如果代码给我基于x, y, z变量以上谢谢。 奥比纳 //www.tatmou.com/matlabcentral/profile/authors/4536423 标签:www.tatmou.com, 2005:问题/ 90293 2013 - 10 - 15 - t16:34:36z 2015 - 10 - 31 - t21:30:27z 没有头文件读。img格式图像 我用胸部x光图像。img。有的没有头文件。在matlab我读它们。imread和dicomread不工作 aditi古普塔 //www.tatmou.com/matlabcentral/profile/authors/4701841 标签:www.tatmou.com, 2005:问题/ 181832 2015 - 03 - 06 - t12:33:55z 2015 - 03 - 06 - t15:27:17z 运放反相器在仿真软件金宝app 你好,我想做一个简单的运放反相器仿真软件,但我不知道为什么我的输入不是广场。金宝app我想我不知道我应该“解算器配置”参数。当我检查“使用本地解决者”解算器配置参数我能看到一个方形脉冲但不从0开始的时间。请指出我的错误或解释为什么它应该是这样的. . 反对 //www.tatmou.com/matlabcentral/profile/authors/5736533 标签:www.tatmou.com, 2005:问题/ 90496 2013 - 10 - 17 - t09:21:43z 2014 - 02 - 28 - t17:34:51z 我怎样才能将一个传递函数转换成与时间有关的使用ilaplace 我试图用ilaplace X2 = (F * G3 + C * G3) / (1 + C * G3);% F, G3, C是转移函数生成使用tf v =符号(“X2”);x = ilaplace (v);然后我用它来绘制一个函数使用阴谋但是当我尝试运行我得到一个错误的代码如下所示? ? ?以下错误发生转换从对称到双:错误使用= = > mupadmex错误在MuPAD命令:双不能输入表达式转换为双数组。 光辉 //www.tatmou.com/matlabcentral/profile/authors/4712471 标签:www.tatmou.com, 2005:问题/ 90150 2013 - 10 - 14 - t12:00:23z 2013 - 12 - 04 - t12:42:48z 如何赶出一个方程的训练神经网络使用作为遗传算法的目标函数? 亲爱的,我有一些实验数据,利用神经网络,我试图找到我的变体之间的非线性关系。下面我通过应用MATLAB代码。p = dlmread(“输入。txt”, [0 0 3 11]);t = dlmread (ut。txt”, [0 0 0 11]);网= newff(极大极小(p), (5、7、1) {‘purelin’,‘logsig’,‘purelin},“traingd”);net.trainParam。显示= 50;net.trainParam。lr = 0.05;net.trainParam。epochs = 10000; net.trainParam.goal = 1e-4; net.trainParam.mc = 0.5; [net,tr]=train(net,p,t); a=sim(net,p); Now, I want to drive out the equation which correlates the inputs to the outputs so that I can use it as an objective function in order to be optimized by Genetic Algorithm. Once, I decided to use Wight matrixes and biases to obtain the function but I even could not find the right codes to obtain the weights and biases and also don't know the exact relation between the wights, biases, transfer functions, inputs and outputs. I am getting confused. 阿米尔Ghiami //www.tatmou.com/matlabcentral/profile/authors/3496061 标签:www.tatmou.com, 2005:问题/ 105649 2013 - 11 - 11 - t09:46:53z 2013 - 11 - 13 - t11:10:20z 帮助gmdistributionfit工具箱 你好,当我用X = 0.0001:0.03:3;y = pdf (obj, X ')轴从0到100,但我把X 0:3 ? ?出了什么问题? mutah //www.tatmou.com/matlabcentral/profile/authors/3452108 标签:www.tatmou.com, 2005:问题/ 105330 2013 - 11 - 08 - t07:38:06z 2013 - 11 - 08 - t20:07:44z 为什么我得到这个linprog错误呢? 你好,我得到以下错误使用linprog: Aeq的列数必须相同的长度f .无论如何克服它吗? 之后 //www.tatmou.com/matlabcentral/profile/authors/2551912 标签:www.tatmou.com, 2005:问题/ 105248 2013 - 11 - 07 - t14:03:01z 2013 - 11 - 07 - t21:52:55z 找到上升时间、沉降时间、超调,稳态误差的模型在仿真软件生成的吗?金宝app 我看到,在matlab中,找出控制系统上升时间和稳定时间,只需要使用步骤的命令,和图上的右键,特征/上升时间。但我不知道我们如何做模型吗?金宝app //www.tatmou.com/matlabcentral/profile/authors/3750766 标签:www.tatmou.com, 2005:问题/ 105158 2013 - 11 - 06 - t20:14:22z 2013 - 11 - 07 - t21:47:23z 高斯PDF的集成获取CDF实验组的为什么不给我正确的答案吗? 我试图运行一个模拟,但是之前我想写一个简单的程序,以确保我能得到一个正确的答案。我首先产生了10000长向量使用正态分布的伪随机数发生器(randn)平均= 0和σ= 1。nsamples = 100000;= 0 f = f + (1) * randn (nsamples, 1);x = f;m =意味着(f) s =性病(f)我计算均值和标准使用标准的MATLAB函数(均值和std)验证均值和标准差。然后我使用标准正态方程绘制数据f (x, m s) = -0.5 (e ^ * (x m / s) ^ 2) / s *√(2π)其中x是RV, s = std偏差,和m的意思。然后我把PDF从1到1使用以下推荐p1 = -。5 * ((x - m) / s) ^ 2;p2 = *√(2 *π));G = exp (p1)。/ p2; fun = @(x) G; cdf=integral(fun,-1,1,'ArrayValued',true); This generates another vector. So I calculate the mean of the CDF vector (cdfmean=mean(cdf)) and instead of getting something around 68% I get 56% why? 利诺冈萨雷斯 //www.tatmou.com/matlabcentral/profile/authors/4164495 标签:www.tatmou.com, 2005:问题/ 104689 2013 - 11 - 02 - t11:55:11z 2013 - 11 - 06 - t15:27:36z 指数函数拟合系数和错误 亲爱的专家们,我有实验数据为指数分布* exp (b * x)。我需要找系数a、b和他们的错误。我用函数符合(B, C, exp1),我得到了一些结果。我的文件有问题,因为一些数据点有更高的错误率,因为实验的本质。1)。在Matlab算法或函数可以给最小的错误呢?2)。我如何使用Matlab /采取一些函数来把小重量(当我计算系数)的数据,大大不同于指数函数?谢谢你! Omnis //www.tatmou.com/matlabcentral/profile/authors/4741611 标签:www.tatmou.com, 2005:问题/ 104571 2013 - 11 - 01 - t03:46:14z 2013 - 11 - 05 - t15:52:17z 我怎么能打开R2013b SimPowersystems图书馆吗? 我已经安装了R2013b连同Simscape 3.10版。我需要模拟电力电子电路。我输入* powerlib *在命令窗口打开simpowersystems图书馆,但是有以下错误:未定义的函数或变量“powerlib”。我怎么打开simpowersystems图书馆吗? Shreyas //www.tatmou.com/matlabcentral/profile/authors/4565945 标签:www.tatmou.com, 2005:问题/ 104912 2013 - 11 - 05 - t04:00:30z 2013 - 11 - 05 - t13:57:29z 需要采用数值和欧拉函数的帮助 所以我歌唱我解决它采用数值,现在要求我修改脚本脚本,用欧拉方法给我们,现在使用欧拉求解。我迷路了。如果其confusinf的话请让我知道,我可以尝试澄清。这是我的ODE文件函数ex_with_2eqs t0 = 0;tf = 40;y0 = (1, 0);[t、Y] =数值(@f t0, tf, y0, []);y = y (: 1);v = Y (:, 2);图(1); plot(t,y,'b+',t,v,'ro') legend('y(t)','v(t)=y''(t)'); title('Figure 1 L4g'); grid on; ylim([-1.5,1.5]); figure(2); plot(y,v); axis square; xlabel('y'); ylabel('v'); title('Figure 2 L4g phase plot'); grid on; ylim([-1.5,1.5]); xlim([-1,1]); end Here is my function file function dydt = f(t,Y) y = Y(1); v = Y(2); dydt = [ v; cos(t)-4*y^2*v-3*y ]; end and if it matters here is my eulers file although i know i dont have to do anything with it. f unction [te,Ye] = euler(f,tspan,y0,N) % Solves the IVP y' = f(t,y), y(t0) = y0 in the time interval tspan = [t0,tf] % using Euler's method with N time steps. % Input: % f = name of inline function or function M-file that evaluates the ODE % (if not an inline function, use: euler(@f,tspan,y0,N)) % For a system, the f must be given as column vector. % tspan = [t0, tf] where t0 = initial time value and tf = final time value % y0 = initial value of the dependent variable. If solving a system, % initial conditions must be given as a vector. % N = number of steps used. % Output: % t = vector of time values where the solution was computed % y = vector of computed solution values. m = length(y0); t0 = tspan(1); tf = tspan(2); h = (tf-t0)/N; % evaluate the time step size t = linspace(t0,tf,N+1); % create the vector of t values y = zeros(m,N+1); % allocate memory for the output y y(:,1) = y0'; % set initial condition for n=1:N y(:,n+1) = y(:,n) + h*f(t(n),y(:,n)); % implement Euler's method end t = t'; y = y'; % change t and y from row to column vectors end 克里斯 //www.tatmou.com/matlabcentral/profile/authors/3643820 标签:www.tatmou.com, 2005:问题/ 104856 2013 - 11 - 04 - t16:53:07z 2013 - 11 - 04 - t19:24:06z 找到触发子系统仿真软件模型金宝app 在matlab命令找到触发端口的子系统。我想更换一个不同的时间触发子系统光栅。 《合 //www.tatmou.com/matlabcentral/profile/authors/3208843 标签:www.tatmou.com, 2005:问题/ 90253 2013 - 10 - 15 - t09:26:18z 2013 - 11 - 03 - t22:54:21z 使用神经网络的手写数字识别;二维输入如何配置? 我的目标是训练一个神经网络识别笔迹(黑/白位模式)。神经网络似乎期望每个输入(培训/测试实例)作为一个矩阵的列/细胞。我不希望一个完整的输入和直接的神经网络层之间的联系。我想指定一个更多本地化输入比特和隐藏的神经元之间的映射。本质上一个映射最好望见如果可以视为二维层和输入。当我的训练实例指定为列,它们松散邻接信息的一部分。我怎么能养活一个二维神经网络输入?我爬过很多教程风格的文档和找不到太多的帮助。而新matlab,有点势不可挡。链接到相关文档也欢迎。 Also, what more information would be useful to answer this question? Jinal //www.tatmou.com/matlabcentral/profile/authors/4704336 标签:www.tatmou.com, 2005:问题/ 89639 2013 - 10 - 09 - t08:24:03z 2013 - 10 - 29 - t21:17:54z 归一化分布直方图 你好,我想要得到的归一化曲线下面的程序在相同的直方图曲线。请帮助我。清除所有;关闭所有;DailyaverageData = xlsread (exceltomatlab。xlsx”、“Sheet1”、“B2: B2290”);n =长度(DailyaverageData);binranges = 0:0.1:1;binwidth = 1;binCtrs = 0.05:0.1:0.95;数量=嘘(DailyaverageData binCtrs); [bincounts] = histc(DailyaverageData,binranges); %figure; %bar(binranges,bincounts/n,'histc'); %xlim([0 1]); prob = counts /n; %H = bar(binranges,bincounts/n,'histc'); H = bar(binCtrs,prob,'hist'); Dimuthu Dharshana //www.tatmou.com/matlabcentral/profile/authors/2633466 标签:www.tatmou.com, 2005:问题/ 91325 2013 - 10 - 24 - t10:26:53z 2013 - 10 - 25 - t07:26:42z 如何设置轴拦截 你如何使轴穿过x-axsis观察1而不是0 ?有时它以自动,有时不是。试试下面的代码。这两个数据有不同的轴截距。1 =兰德(15日);情节(p1990K1BPreg(1:10 1)情节(p1990K1BPreg(1:15, 1)你如何做y-axex总是拦截在x = 1,如图1所示? 卡尔 //www.tatmou.com/matlabcentral/profile/authors/4228857 标签:www.tatmou.com, 2005:问题/ 91085 2013 - 10 - 22 - t15:42:35z 2013 - 10 - 23 - t10:08:52z 估计参数的非线性模型 大家好,我有一个模型,与实验的平均反应时间和错误率会话,有两个自由参数,a和b:呃= 1 / (1 + * (lnRT) ^ b)我有点困惑的众多方法a和b的估计。最简单的/可靠的方法是什么呢?很多谢谢! AwedBy Matlab //www.tatmou.com/matlabcentral/profile/authors/1700904 标签:www.tatmou.com, 2005:问题/ 90848 2013 - 10 - 20 - t16:34:55z 2013 - 10 - 22 - t20:20:18z 比较两个楼梯图 嗨,统计项目中我需要计算的最大区别两个图的标准(kolmogorov-smirnov距离)。图表来自经验数据。我试图创建一个向量两个图形之间的差异(楼梯图),但是我们没有相同数量的点。最坏的情况下,我们不知道访问所有的f1的坐标(x)和f2 (x)进行比较。我找了2天,请任何帮助都是受欢迎的。这是一个代码和图的一部分。您可以看到图代表了相对累积频率获得相同的数据(一个向量的数字(0 - 20)。一个向量是构建一个样本的数据和整个数据之一。然后我刚刚生成的情节比较cdfplot功能:freq_cum_theorie = cdfplot (vect_moy_theorie);抓住freq_cum_echant_theorie = cdfplot (moy_echant_theorie); hold on <> Thank you a lot. //www.tatmou.com/matlabcentral/profile/authors/4292005 标签:www.tatmou.com, 2005:问题/ 89788 2013 - 10 - 10 - t12:03:38z 2013 - 10 - 20 - t21:36:55z 扑克条形图、概率 你好。我试图想出一个程序,显示了概率的扑克手双/ twopairs /三张相同的牌等等……我想放在手中的数量,程序将显示有多少次我将对/ twopairs /三…在条形图或柱状图。也感谢所有的帮助。 莱纳斯 //www.tatmou.com/matlabcentral/profile/authors/4688590 标签:www.tatmou.com, 2005:问题/ 90306 2013 - 10 - 15 - t18:51:25z 2013 - 10 - 20 - t04:02:58z 未定义的函数或方法的markers2输入参数类型的“双重” 我得到这个错误当我运行下面的代码分散(数据(1、集群{cc}),数据(2,集群{cc}),…markers2 (which_marker));问题是我不markers2在做什么,我怎么能删除这个错误。 萨那 //www.tatmou.com/matlabcentral/profile/authors/4323684 标签:www.tatmou.com, 2005:问题/ 90408 2013 - 10 - 16 - t15:38:58z 2013 - 10 - 18 - t07:25:12z 绘制温度轮廓从txt文件 你好,我是新来的,我新。我有一个txt文件中的数据。例如这样:x y z 30 50 5 32 48 6 28 45 10 22 49 8点分散,因为一些气象站收集了不同的地方。x是y经度和纬度和z的温度。1。我想知道如果有任何方式从txt文件读取数据并绘制轮廓使用插值方法(例如IDW)。2。同时我想画出相应的海岸线上的背景。由于账户,请澄清只是问我。 达沃Keppas //www.tatmou.com/matlabcentral/profile/authors/4709598 标签:www.tatmou.com, 2005:问题/ 90414 2013 - 10 - 16 - t16:20:50z 2013 - 10 - 18 - t03:22:34z 有一个matlab函数,计算随机变量联合概率超过2(超过3旅游房车“histc”) ? 你好,我想问如果有一个函数,就像“histc”多达10个随机变量。简短的说明:如果有三个随机变量与各2个。3随机变量的不同组合会给2 * 2 * 2 = 8个州。和函数将返回计数(obversations)对于一个给定的数据集3旅游房车,很像“histc”函数。matlab有内置的功能还是有一个不太复杂的计算方式吗?多谢 tsan涂装 //www.tatmou.com/matlabcentral/profile/authors/4463217 标签:www.tatmou.com, 2005:问题/ 90442 2013 - 10 - 16 - t20:33:12z 2013 - 10 - 17 - t20:44:37z 时间序列FFT功率单位吗? 你好,我有一个时间序列的气体的浓度(ppm或ppm)在大气中随着时间的推移在数年。浓度与时间近似正弦信号频率2 *π/ 365天,但也有6个月任期(基波)频率π/ 4 * 365天。我运行一个时间序列fft,这显示峰值频率在1年6个月。我唯一的问题是,我不知道在y轴上的单位(“权力”)。谁能帮助这个吗?谢谢 乔纳森 //www.tatmou.com/matlabcentral/profile/authors/1010924 标签:www.tatmou.com, 2005:问题/ 90556 2013 - 10 - 17 - t17:56:57z 2013 - 10 - 17 - t18:10:16z 迭代求解未知,想和检查 你好,我是希望在一个方程解出未知,不能直接得到解决。相反,我有测量值(数据),一个方程有关我未知的理论计算值。我有1000 + F_measured数据点和一个方程这样F_calc = a (b * sqrt (c * (1 - x / d) ^ k)) + x * e, b, c, d和k是常数,x是未知的。我需要做的是遍历的可能值x直到% F_calc之间的区别和F_measured < 10 e-5…和x值可以很大所以成千上万的微小的步骤非常不切实际的如果不是不可能的话。任何想法如何更有效呢? 马克 //www.tatmou.com/matlabcentral/profile/authors/4681086 标签:www.tatmou.com, 2005:问题/ 90517 2013 - 10 - 17 - t12:58:37z 2013 - 10 - 17 - t14:37:51z 计数脉冲,在仿真软件上如何?金宝app 计数脉冲在仿真软件上时,如何obtaint经历一个编码器,电金宝app机的速度发出50脉冲革命。这是在离散时间0.001。我延迟的脉搏和比较脉冲延迟,但是都没有计算好,柜台重置为零。通过嵌入函数,这除了我这样做,你在哪里的脉搏,u_r脉冲延迟,t是一个时钟,一个y_r y的反馈。我需要帮助,请。函数[y] = fcn (u, u_r t y_r) % # eml持续数;持久》;如果isempty(计数)数= 0;如果isempty (》)《= 0;y = y_r结束;% Realimentacion de开车如果count = = 0% Si接触器esta大马鲛ponemos en el tiempo marcha tiempo = t; end if u==1 && u_r==0 % Si detecta flanco positivo, aumenta el contador count=count+1; end if count==50; % suponemos da 50 pulsos por vuelta, % Si llega a 50 pulsos, calculamos tiempo en dar una vuelta y=t-tiempo; count=0; % reseteamos contador end 弗朗西斯科哈维尔 //www.tatmou.com/matlabcentral/profile/authors/2621138 标签:www.tatmou.com, 2005:问题/ 90377 2013 - 10 - 16 - t10:46:35z 2013 - 10 - 17 - t05:59:28z 如何掩盖了地区以外的天空? 我附上了一个图像与天空和建筑。我想面具的建筑部分图像从天空不使用颜色检测。 苏雷什 //www.tatmou.com/matlabcentral/profile/authors/4651197 标签:www.tatmou.com, 2005:问题/ 90351 2013 - 10 - 16 - t06:22:45z 2013 - 10 - 16 - t22:34:08z 我怎么能从一个逻辑回归生成概率? 我有5个连续变量和我想为每一个生成的概率的一个二进制的结果变量。例如,给定一组的胆固醇水平和过去10年发病率(二进制),我怎么生成胆固醇的300死亡的概率?我知道物流和概率单位回归可以给你一个预测变量的意义。我如何能产生的概率。谢谢。 艾德 //www.tatmou.com/matlabcentral/profile/authors/2415015 标签:www.tatmou.com, 2005:问题/ 90366 2013 - 10 - 16 - t08:56:44z 2013 - 10 - 16 - t20:13:17z 如何模拟一个马尔可夫链? 我们有一个几何随机游走模型股票价格的行为。状态空间是1,02年^ j和从-100年到100年。初始价格p (0) = 1。如果p (t) = 1, 02 ^ 100 p (t + 1) = 1, 2 ^ 99。如果p (t) = 1, 02 ^ -100, p (t + 1) = 1, 02 ^ -99概率为0,99年,价格保持不变概率为0 01——我们的问题是:我们如何编写代码来模拟这个过程吗? 婆婆的 //www.tatmou.com/matlabcentral/profile/authors/2523546 标签:www.tatmou.com, 2005:问题/ 90320 2013 - 10 - 15 - t20:59:32z 2013 - 10 - 16 - t16:15:13z 策划矩阵条目的时间进程 我有一个矩阵与实值负的条目。条目(i, j),我想画一个圆在点(i, j)的颜色强度的大小是由M (i, j)。例如,如果M (2、3) > M(4、8),一个暗点会出现在(2、3)比(4、8)。我想画了圈而不是颜色的矩形作为一个会使用pcolor额外学分:如果M的条目也随时间变化,即每个条目的M (I, j, t),我能如何创建一个动画显示不同大小的时间进程。例如,如果M (2、3 t)是一种增加t的函数,我想要的颜色强度点(2、3)增加。 保罗• //www.tatmou.com/matlabcentral/profile/authors/3054555 标签:www.tatmou.com, 2005:问题/ 89942 2013 - 10 - 11 - t17:13:03z 2013 - 10 - 16 - t12:49:08z 如何画出频谱仿真软件金宝app 你好,我是学习matlab和我试图阴谋的一个简单的正弦波频谱仿真软件但问题是我不能获得实际的频谱,我期待……金宝app我用功率谱密度来查看频谱。它工作得很好还是我使用错误的工具。< < / matlabcentral / / uploaded_files / 557 / spect的答案。PNG > >这是我仿真软件模型图金宝app的频谱和查看一个简单的正弦波和正弦波的特点是:< < / matlabcentral /答案/ uploaded_files / 558 /正弦。PNG > >我在R2012a Matlab版本。当我保持' W ' 35拉德/秒但我得到频谱如下:< < / matlabcentral /答案/ uploaded_files / 559 /图。PNG > >这里我期望的冲动或峰值功率谱密度图35岁,但在25可以任何一个为我解决这个问题。如果我做错了通过使用这种仪器查看频谱,请指导我……提前谢谢… ntel ! //www.tatmou.com/matlabcentral/profile/authors/4590181 标签:www.tatmou.com, 2005:问题/ 90288 2013 - 10 - 15 - t16:05:50z 2013 - 10 - 15 - t18:16:34z 如何选择与gmdistribution初始组件参数。适合吗? 我通过gmdistribution.fit训练高斯混合模型。然而,就我而言我的初始组件参数是随机值。我想改变这一切,而不是随机值来初始化组件通过k - means方法参数。知道如何解决这个吗?训练我的代码模型:选项= statset(“麦克斯特”,500年,“显示”,“最终”);模型(BrandId)。gmm = gmdistribution.fit(数据',3 ' CovType ',……“斜”,“选项”,选择); Stamatis萨马拉斯 //www.tatmou.com/matlabcentral/profile/authors/3171693 标签:www.tatmou.com, 2005:问题/ 89983 2013 - 10 - 12 - t05:43:13z 2013 - 10 - 15 - t17:27:32z 什么是默认的输入信号的振幅值时matlab给出了频率响应功能预示? 据我所知,频率响应测量是这样的:我们给正弦信号的频率不同,但相同的振幅值作为系统的输入,然后我们测量输出信号,这也是相同的正弦频率也减少振幅值和相位延迟。我想知道的是什么是默认输入正弦信号的振幅值,当我分析模型与功能“预示”?这个值可以改变,如何改变?我在哪里可以找到关于这个问题的线索。谢谢! 快乐 //www.tatmou.com/matlabcentral/profile/authors/4694888 标签:www.tatmou.com, 2005:问题/ 89937 2013 - 10 - 11 - t16:23:23z 2013 - 10 - 15 - t15:47:08z 如何不画一些点的间隔(hmax和机构) 我有这个函数但我必须完成它。我不得不说matlab不画点图的hmax和机构之间有人能帮助我吗? ? ?h = max (y);hmax = (percT / 100) * h;机构= (percB) / 100 * h;我= 1:尺寸(y, 1)如果y (i) > hmax y (i) = hmax;else if y(我)<机构y (i) =机构;其他.....我是如何完成? ? ?提前感谢! ! ! Antonella //www.tatmou.com/matlabcentral/profile/authors/4352764 标签:www.tatmou.com, 2005:问题/ 90210 2013 - 10 - 14 - t22:56:33z 2013 - 10 - 15 - t10:20:59z PNG和BMP图像和图像放大(图片)= 0。为什么和如何获得有意义的/一个非零的答案吗? 你好,我不知道为什么,但我的MATLAB的告诉我,图像放大(日志(abs (fft2(图片))))是一个大的零矩阵。这是一个非常丰富多彩的. png图像。我试着抓住另一个bmp格式图片和一些其他png uint8无济于事。有什么建议吗?真诚,杰克 杰克 //www.tatmou.com/matlabcentral/profile/authors/4053267