Toder
Statistics
全部
Content Feed
Answered
Linux上的MATLAB:无法加载模块“堪培拉GTK模块”
This is a known bug but shouldn't affect your ability to use Matlab. See //www.tianjin-qmedu.com/support/bugreports/details/19...
Linux上的MATLAB:无法加载模块“堪培拉GTK模块”
This is a known bug but shouldn't affect your ability to use Matlab. See //www.tianjin-qmedu.com/support/bugreports/details/19...
1 year ago | 1
|公认
Answered
Averaging Every 5 Elements in a Matrix for Each Column with Nans
对于x = [1 2 3 nan 4],就像您的简短示例一样,您可以这样做以忽略均值:均值(x(〜isnan(x)))
Averaging Every 5 Elements in a Matrix for Each Column with Nans
对于x = [1 2 3 nan 4],就像您的简短示例一样,您可以这样做以忽略均值:均值(x(〜isnan(x)))
1 year ago | 0
|公认
Answered
Create a vector with for loop with mathematical operations
To fix your current code, you need to use indices in the for loop. w=[5 4 3 2] for i = w a3(6-i)=[1/(i+i)] b3(6-i) =...
Create a vector with for loop with mathematical operations
To fix your current code, you need to use indices in the for loop. w=[5 4 3 2] for i = w a3(6-i)=[1/(i+i)] b3(6-i) =...
1 year ago | 1
Answered
Array indices must be positive integers or logical values MATLAB error
z0(t) is causing the error. t is a vector of decimals, and you cannot use a decimal as an index. Indices must be positive intege...
Array indices must be positive integers or logical values MATLAB error
z0(t) is causing the error. t is a vector of decimals, and you cannot use a decimal as an index. Indices must be positive intege...
1 year ago | 0
Answered
如果应该停止的行,则DBSTOP不会停止
The if condition is true, so Matlab executes disp('true'); then jumps to end. Lines 4 and 5 are never executed because only one ...
如果应该停止的行,则DBSTOP不会停止
The if condition is true, so Matlab executes disp('true'); then jumps to end. Lines 4 and 5 are never executed because only one ...
1 year ago | 0
|公认
Answered
替换数据集中缺少的时间步骤
If data is the vector of your measurements at times x, you can try Y = NaN(size(t)); Y(ismember(t,x)) = data;
替换数据集中缺少的时间步骤
If data is the vector of your measurements at times x, you can try Y = NaN(size(t)); Y(ismember(t,x)) = data;
1 year ago | 0
解决了
三角数
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...
1 year ago
解决了
Factorize THIS, buddy
List the prime factors for the input number, in decreasing order. List each factor only once, even if the factorization includes...
1 year ago
解决了
Prime factor digits
Consider the following number system. Calculate the prime factorization for each number n, then represent the prime factors in a...
1 year ago
Answered
if语句中的错误
For if elsif else conditionals, Matlab executes the statements in the first block who's logical expression true, then it jumps t...
if语句中的错误
For if elsif else conditionals, Matlab executes the statements in the first block who's logical expression true, then it jumps t...
1 year ago | 0
|公认
解决了
Determine whether a vector is monotonically increasing
如果输入矢量的元素单调增加(即每个元素都大于上一个),则返回true。返回...
1 year ago
解决了
Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...
1 year ago
Answered
"Index exceeds the number of array elements (1)."
在前几行中定义结构的方式导致空气是一个具有两个字段的1x1结构(温度和按下),每个字段,o ...
"Index exceeds the number of array elements (1)."
在前几行中定义结构的方式导致空气是一个具有两个字段的1x1结构(温度和按下),每个字段,o ...
1 year ago | 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:...
1 year ago
Answered
使用FSURF和SURF后,我获得了不同的数字
It appears you may have a typo in your second definition of bb. Your first call to jacobiSN in this line currently reads as jac...
使用FSURF和SURF后,我获得了不同的数字
It appears you may have a typo in your second definition of bb. Your first call to jacobiSN in this line currently reads as jac...
1 year ago | 0
|公认
Answered
Pie chart label overlapping
Following the documentation for pie chart labels at //www.tianjin-qmedu.com/help/matlab/creating_plots/customize-pie-chart-lab...
Pie chart label overlapping
Following the documentation for pie chart labels at //www.tianjin-qmedu.com/help/matlab/creating_plots/customize-pie-chart-lab...
1 year ago | 1
Question
Function Argument Validation, Compare to Irrational Number or Expression
Is there a way to use MATLAB's built-in validation functions to compare an argument to an expression or funciton output? I want...
1 year ago | 1 answer | 0
1
answerQuestion
Exit function early and return output
我的功能很长,单个输出。在特殊情况下,可以计算输出,而无需执行mavori ...
1 year ago | 1 answer | 0