Community Profile

photo

Shane L


上一次见面:5个月前|Active since 2016

Statistics

全部
  • 5-Star Galaxy Level 4
  • 个人最佳下载级别1
  • 首次审查
  • First Submission
  • 知识渊博的级别2
  • First Answer
  • 求解器

查看徽章

Content Feed

查看

解决了


找到匹配的括号
关于编程的出色文本编辑器最不可或缺的事情之一是能够在匹配p之间快速跳跃...

3years ago

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

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

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

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

4年前|1

Submitted


GridLegend
Creates a legend in which the entries are arranged in a grid

4年前|8下载|

Thumbnail

解决了


“ 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

解决了


Most nonzero elements in row
给定矩阵A,返回具有最非零元素的行的索引r。假设总会有一排...

4 years ago

解决了


在矩阵中找到质子数的数字均值。
矩阵中总会至少有一个素数。示例:输入in = [8 3 5 9]输出输出为4 ...

4 years ago

解决了


删除出现NAN的任何行
Given the matrix A, return B in which all the rows that have one or more

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

解决了


确定向量是否单调增加
如果输入矢量的元素单调增加(即每个元素都大于上一个),则返回true。返回...

4 years ago

解决了


Swap the first and last columns
翻转矩阵A的最外层列,使第一列变为最后一列,最后一列成为第一个。全部...

4 years ago

解决了


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

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的方形矩阵...

5年前|3

Answered
Spectrogram behaves unexpectedly when changing input values systematically
第二个参数(如果是一个整数),窗口不是分割数据的时间段,而是l ...

5年前|2

|公认

解决了


Is my wife right?
Regardless of input, output the string 'yes'.

6年前

解决了


列除去
从输入矩阵A中删除nth列,然后返回输出B中的结果矩阵。因此,如果a = [1 2 3;4 5 6];和 ...

6年前

解决了


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年前

解决了


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

6年前

解决了


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

6年前

解决了


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

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年前