社区资料

photo

Joseph Cheng


Last seen: Today|Active since 2014

Systems Engineer for Electro-Optical Systems

Statistics

全部
  • 指路明灯
  • 感恩2级
  • MATLABCentral Treasure Hunt Finisher
  • 首次审查
  • 24 Month Streak
  • 感恩1级
  • 知识渊博的5级
  • First Answer
  • 求解器

查看徽章

Content Feed

查看

Answered
Create different outline colors for different times
您可以使用不同类型的颜色(例如HSV,Jet,Bone,Grey等)生成颜色尺度。然后根据Tim ...

8 mesi ago | 1

|公认

Answered
图上X轴的更改量表
在此处查看此答案帖子:https://www.tianjin-qmedu.com/matlabcentral/answers/398481-how-do-i-i-remove-scientific-notation-notation-from-x ...

8 mesi ago | 1

Answered
App Designer: How to plot graph from own function into UIAxess?
如果您查看plot()函数或任何其他显示/绘图工具,例如imagesc(),image(),imshow()等...第一个条目...

8 mesi ago | 0

Answered
使用串联的数组的vertcat维度不一致。Code_tubes中的错误(第22行)C = [Q(1);Q(2);Q(3);
a quick scan shows it at the last row of C with q(6) - teta2_o - w2*t]; where everything up to that looks to b...

8 mesi ago | 0

|公认

Answered
如何传递系数以作为数组或列表的功能处理?
i think you just answered yourself in your question y = @(y0,a,b,NN) y0 + a*x(NN) + b*x(NN).^2; %simulate parabolic data yDIF...

大约un anno以前|1

|公认

Answered
Issue in plotting binary image boundaries with real axis values
因此,您需要找到像素到线性XY(mm)之间的转换。MM/PX量表因子 +偏移到0;从...

大约un anno以前|0

Answered
如何自动裁剪此图像?如果有可能。
well, you can find the corner squares by doing the following: img = (imread('//www.tianjin-qmedu.com/matlabcentral/answers/up...

大约un anno以前|0

|公认

Answered
从其他变量字符串中创建使用名称的变量
While it is not adviseable to have variables created in this way maybe you have a good reason to but still un-adviseable but her...

大约un anno以前|1

|公认

Answered
How to find end of time series in plot
to go with your example of pos where pos = [0.11, 0.12, 0.12, 0.12, 0.12 0.12, 0.14, 0.14, 0.11, 0.16, 0.13, 0.13, 0.13, 0.13]...

大约un anno以前|0

Answered
卸下单元的空行
you can use the function cellfun() in conjunction with isempty: clear K %generate dummy K for Cind = 1:2 for Rind = 1:4 ...

大约un anno以前|0

Answered
循环中的问题
if we break down your for loop: for i=1:38976; %this if statement will be done if j==120 %an okay statement here b...

大约un anno以前|1

|公认

Answered
How to find the two minimum values ?
好吧,要解决这个问题,您不应该“删除”最小点的条目,而是要贴上大价值或nan并使用nanmin()。由de ...

大约un anno以前|0

Answered
3d to 2d matrix
take a look at the function squeeze() for ind = 1:3 val(1,1,ind)=-ind; end disp(val) u2 = squeeze(val); disp(u2)

大约un anno以前|1

|公认

Answered
How to get data points within current camera view?
所以...如果我没记错的锅在matlab中移动绘图的轴极限,而不是panning/panning/翻译相机,则类似地放大...

大约un anno以前|0

解决了


Find the Pattern 1

大约un anno前

Answered
寻找比发现快的方式?
without doing some testing to actually test if its faster you can use the found 1's in a to only select a list of indexes A = ...

大约un anno以前|0

|公认

Answered
插值数据上的DataTip位置不正确
so you can see what is happening if you plot it as just markers in this animated example: figure; hold on; hPlot = plot(1:10, ...

大约un anno以前|0

|公认

Answered
在多个帧中取平均像素值
您难道不只是将其放入5504 x8256 x 3的非单元格矩阵中,然后使用平均值(数据,3)在第三维中采用平均值?o ...

大约un anno以前|1

Answered
为什么使用“ PARFOR”时会遇到无效的文件标识符错误,但同一功能正常工作(尽管slow)对“ for”?
从外观上看,您已经打开了一个文件,然后尝试使用parfor将项目从打开的文件中获取。但是那是...

大约un anno以前|0

Answered
How to get rid of blank space in a heatmap panel of 3 figures?
您是否查看了相等的功能轴或轴平方可能适用于您,而不必仅使用顶部H ...

大约un anno以前|0

Answered
如何阅读评论样式以跳过文本文件的标题?
you can quickly scan the file(s) for the number of header lines like file= 'Graphite_Node_test.txt'; fid = fopen('Graphite_Nod...

大约un anno以前|0

|公认

Answered
Contour is plotting my data in reflected order?
From a quick test you might not be asigning the x and y values when performing your contour() function. by doing so matlab will...

大约un anno以前|0

|公认

Answered
创建带有元素顺时针元素的矩阵
虽然可能不是最有效的方法,您可以像我在这里完成的那样填充边缘:CLC;清除所有X = ZEROS(5,8);%生成M ...

大约un anno以前|1

Answered
Update a for loop with if statements
Without running your code i think you can create a sign variable of (-1)^(0 or 1) which switches between 0 or 1 depending on whe...

大约un anno以前|0

|公认

Answered
Represent array in percentage
您将取数阵列,减去最小值,然后除以最大值x 100 x = [2.4:.4:4.2];x = x-min(x);...

大约un anno以前|1

|公认

Answered
How to make the length/dimension of 6 different 3D vectors the same?
probably the easiest way is to fill a zero array created to be the same max size then populate the indexes with the values: var...

大约un anno以前|1

|公认

Answered
在二进制掩码中提取像素值
由于您已经创建了一个二进制掩码,因此您可以索引乘以“。”。

大约un anno以前|0

Answered
how to color and label only certain histogram bars?
Here is an example for @Adam Danz said with using bar y = randn(100); [N X]=hist(y(:),10); %plot all the data figure,clf,hb...

大约un anno以前|1

Answered
Looking for a matlab script that extracts data from a plot figure ( here 2D contours from Covariance matrix or Markov chains) and reproduce the original figure
your graph is a bit messy with text and lines that denote items. here is a quick example that may push you along. It'll need a...

大约un anno以前|0

|公认

Answered
Scientific notation at y-axis with yticks/yticklabels
从外观看,所需的状态也在log10中绘制。您可以通过set(gca,'yscale','log'...更改当前轴...

大约un anno以前|0

|公认

Load more