Shane L
Statistics
全部
Content Feed
Answered
Storing a Square Wave in an array that is more than just one row
As you noted, your t and image arrays are 1 x W, whereas your temp array is W x H. When you try to index temp(:,x) = image; yo...
Storing a Square Wave in an array that is more than just one row
As you noted, your t and image arrays are 1 x W, whereas your temp array is W x H. When you try to index temp(:,x) = image; yo...
3years ago | 1
|公认
Answered
How to add more than two elements of a cell, where each element in the cell is a matrix of identicle size?
试试这个:sum (cat({}): 3米,3)第一个反对catenates all of the arrays in the cells of M into a three-dimensional numeric ar...
How to add more than two elements of a cell, where each element in the cell is a matrix of identicle size?
试试这个:sum (cat({}): 3米,3)第一个反对catenates all of the arrays in the cells of M into a three-dimensional numeric ar...
3years ago | 1
|公认
Answered
Can I plot multiple polar histograms together?
The problem is that subplot creates axes, whereas polarhistogram requires polar axes (see polaraxes). I don't know of an equival...
Can I plot multiple polar histograms together?
The problem is that subplot creates axes, whereas polarhistogram requires polar axes (see polaraxes). I don't know of an equival...
3years ago | 0
|公认
Answered
How do I get a "tabular" legend?
If you are looking for a code that is built to create a "tabular" legend, my /www.tatmou.com/matlabcentral/fileexchan...
How do I get a "tabular" legend?
If you are looking for a code that is built to create a "tabular" legend, my /www.tatmou.com/matlabcentral/fileexchan...
4年前|1
解决了
“ Cody” * 5 ==“ CodyCodyCodyCodyCody”
*爱丽丝*:什么?*“ Cody” *5 ==“ CodyCodyCodyCodyCody” *?你必须在跟我开玩笑!*鲍勃*:不,我很认真!Python支金宝app持...
4 years ago
解决了
The 5th Root
Write a function to find the 5th root of a number. It sounds easy, but the typical functions are not allowed (see the test su...
4 years ago
解决了
删除出现NAN的任何行
Given the matrix A, return B in which all the rows that have one or more /www.tatmou.com/help/techdoc/ref/nan.html NaN...
4 years ago
解决了
寻找完美的正方形
Given a vector of numbers, return true if one of the numbers is a square of one of the other numbers. Otherwise return false. E...
4 years ago
解决了
创建时间表
At one time or another, we all had to memorize boring times tables. 5 times 5 is 25. 5 times 6 is 30. 12 times 12 is way more th...
4 years ago
解决了
Fibonacci sequence
计算第n个斐波那契号。给定n,返回f,其中f = fib(n)和f(1)= 1,f(2)= 1,f(3)= 2,...示例:inpu ...
4 years ago
解决了
查找所有小于0或大于10的元素,然后用NAN代替它们
Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...
4 years ago
解决了
三角数
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...
4 years ago
解决了
Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...
4 years ago
Answered
If I start with a matrix of zeros, how can I easily create a circle of ones in that matrix?
一种方法(不一定是最有效但易于理解的方法):z =零(99);%创建Zer的方形矩阵...
If I start with a matrix of zeros, how can I easily create a circle of ones in that matrix?
一种方法(不一定是最有效但易于理解的方法):z =零(99);%创建Zer的方形矩阵...
5年前|3
Answered
Spectrogram behaves unexpectedly when changing input values systematically
第二个参数(如果是一个整数),窗口不是分割数据的时间段,而是l ...
Spectrogram behaves unexpectedly when changing input values systematically
第二个参数(如果是一个整数),窗口不是分割数据的时间段,而是l ...
5年前|2
|公认
解决了
Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...
6年前
解决了
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...
6年前
解决了
时间2-从这里开始
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...
6年前