Toder - MATLAB Central
photo

Toder


Last seen: 3 years 前 自 2020 起处于活动状态

Followers: 0   Following: 0

统计学

All
MATLAB AnswersCodyZoom OutFrom 04/20 to 04/25Use left and right arrows to move selectionFrom 04/20Use left and right arrows to move left selectionTo 04/25Use left and right arrows to move right selectionUse TAB to select grip buttons or left and right arrows to change selection100%
MATLAB Answers

2 个提问
11 个回答

Cody

0 个问题
10 个答案

排名
1,671
of 297,986

声誉
40

贡献数
2 个提问
11 个回答

回答接受率
100.0%

收到投票数
5

排名
 of 20,517

声誉
N/A

平均
0.00

贡献数
0 文件

下载次数
0

ALL TIME 下载次数
0

排名
37,639
of 160,028

贡献数
0 个问题
10 个答案

评分
110

徽章数量
1

贡献数
0 帖子

贡献数
0 公开的 个频道

平均

贡献数
0 个亮点

平均赞数

  • Thankful Level 2
  • 3 Month Streak
  • Knowledgeable Level 2
  • Solver
  • First Answer
  • Thankful Level 1
  • First Review

查看徽章

Feeds

排序方式:

已回答
Matlab on Linux: Failed to load module "canberra-gtk-module"
This is a known bug but shouldn't affect your ability to use Matlab. See https://www.mathworks.com/support/bugreports/details/19...

5 years 前 | 1

| 已接受

已回答
Averaging Every 5 Elements in a Matrix for Each Column with Nans
For x=[1 2 3 NaN 4], like your short example, you can do this to ignore NaNs in the mean: mean(x(~isnan(x)))

5 years 前 | 0

| 已接受

已回答
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) =...

5 years 前 | 1

已回答
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...

5 years 前 | 0

已回答
Question on how to position points on a line
Assuming del is a column vector of the same size as t and is the desired change in x, try this xy1 = [141.64 399.53]...

5 years 前 | 0

| 已接受

已回答
dbstop doesn't stop if the line at which is supposed to stop is something like `'else'
The if condition is true, so Matlab executes disp('true'); then jumps to end. Lines 4 and 5 are never executed because only one ...

5 years 前 | 0

| 已接受

已回答
Replace missing time steps in dataset
If data is the vector of your measurements at times x, you can try Y = NaN(size(t)); Y(ismember(t,x)) = data;

5 years 前 | 0

已解决


Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...

5 years 前

已解决


Make a checkerboard matrix
Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Examp...

5 years 前

已解决


Factorize THIS, buddy
List the prime factors for the input number, in decreasing order. List each factor only once, even if the factorization includes...

5 years 前

已解决


Prime factor digits
Consider the following number system. Calculate the prime factorization for each number n, then represent the prime factors in a...

5 years 前

已回答
Errors Within an If Statement
For if elsif else conditionals, Matlab executes the statements in the first block who's logical expression true, then it jumps t...

5 years 前 | 0

| 已接受

已解决


Determine whether a vector is monotonically increasing
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...

5 years 前

已解决


Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

5 years 前

已解决


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

5 years 前

已解决


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

5 years 前

已解决


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

5 years 前

已回答
"Index exceeds the number of array elements (1)."
The way you define your struct in the first few lines results in Air being a 1x1 struct with two fields (temp and press), each o...

5 years 前 | 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:...

5 years 前

已回答
I obtained different figure after using fsurf and 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...

5 years 前 | 0

| 已接受

已回答
Pie chart label overlapping
Following the documentation for pie chart labels at https://www.mathworks.com/help/matlab/creating_plots/customize-pie-chart-lab...

5 years 前 | 2

提问


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

5 years 前 | 1 个回答 | 0

1

个回答

提问


Exit function early and return output
I have a rather long function with a single output. In a special case, the output can be calculated without executing the majori...

5 years 前 | 1 个回答 | 0

1

个回答