Community Profile

photo

Toder


Last seen: 2 months ago|Active since 2020

Statistics

全部
  • 3 Month Streak
  • Knowledgeable Level 2
  • 求解器
  • First Answer
  • Thankful Level 1
  • First Review

查看徽章

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...

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)))

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) =...

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...

1 year ago | 0

Answered
关于如何在线上定位点的问题
假设DEL是与T相同的列向量,并且是X中所需的更改,请尝试使用此XY1 = [141.64 399.53] ...

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 ...

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;

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

解决了


Make a checkerboard matrix
给定整数n,制作由交替的矩阵和零组成,如下所示。A(1,1)应为1. Examp ...

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...

1 year ago | 0

|公认

解决了


Determine whether a vector is monotonically increasing
如果输入矢量的元素单调增加(即每个元素都大于上一个),则返回true。返回...

1 year ago

解决了


确定输入是否奇怪
给定输入n,如果n为奇数或false,则返回true,如果n为偶数。

1 year ago

解决了


Add two numbers
Given a and b, return the sum a+b in c.

1 year ago

解决了


找到输入向量的所有数字的总和
找到输入向量X的所有数字的总和。示例:输入x = [1 2 3 5]输出y是11输入x ...

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 ...

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...

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...

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

answer

Question


Exit function early and return output
我的功能很长,单个输出。在特殊情况下,可以计算输出,而无需执行mavori ...

1 year ago | 1 answer | 0

1

answer