photo

Bryce Imbriale


自 2018 起处于活动状态

Followers: 0   Following: 0

统计学

MATLAB Answers

6 个提问
0 个回答

排名
183,757
of 299,830

声誉
0

贡献数
6 个提问
0 个回答

回答接受率
0.0%

收到投票数
0

排名
 of 20,813

声誉
N/A

平均
0.00

贡献数
0 文件

下载次数
0

ALL TIME 下载次数
0

排名

of 166,163

贡献数
0 个问题
0 个答案

评分
0

徽章数量
0

贡献数
0 帖子

贡献数
0 公开的 个频道

平均

贡献数
0 个亮点

平均赞数

Feeds

排序方式:

提问


I must assume that I have a two dimensional array named twoD. Using iteration (for) and conditionals (if and/or switch), I have to separate twoD into two vectors evenNum and oddNum
a. evenNum contains all of the even numbers in twoD b. oddNum contains all of the odd numbers in twoD any help?

7 years 前 | 0 个回答 | 0

0

个回答

提问


I have to find the maximum element in a two dimensional array and replace it with 0.
I don't even know where to start. I am also given an example: given array=[1 2 4 5; 8 -7 5 3; 12 45 1 6], after applying your ...

7 years 前 | 1 个回答 | 0

1

个回答

提问


I need to iterate through a vector, A, using a while loop. Although, I must replace every negative element with 0 until I reach an element with value 0 or checked all elements in the vector.
I also must use either for or while to solve the problem. Also I am given an example: A=[1 -2 3 -5 4 0 9], then the scripts wi...

7 years 前 | 1 个回答 | 0

1

个回答

提问


I need to iterate through a vector, A, using a for loop, and create a new vector, B, containing logical values. The new vector should contain true for odd values and false for all other values.
I have to use either for or while to solve this problem and I have been working on it for about a while now and cant seem to fig...

7 years 前 | 1 个回答 | 0

1

个回答

提问


How would I write a script to solve this problem. Assume that I have a vector named D. Using iteration (for) and conditionals (if and/or switch), separate vector D into four vectors posEven, negEven, posOdd, and negOdd.
***Find the maximum, minimum elements and get the summation and so on, but how would I solve the problem using conditional state...

7 years 前 | 1 个回答 | 0

1

个回答