社区资料

照片

C.J. Harris


Last seen: 9 months ago|自2011年以来活跃

统计数据

All
  • First Review
  • 3个月连胜
  • Knowledgeable Level 4
  • 第一个答案
  • Solver

View badges

内容提要

View by

回答
负面权力
u = (0 0 1 0 1);v = [1 4 4 4 3];结果=过滤器(u,v,[1, zeros(1,7)]) ans = 0 0 1 -4 13 -40 121 -364

4年前|1

|accepted

回答
如何将“描述”添加到“ .jpeg”?
如果您只对“评论”字段感兴趣,则可以直接设置它:IMWRITE(i,figc.jpg','comment',用...

4年前|0

|accepted

回答
如何用矩阵的第一个值制作数组
%输入a = [1 2 3 4 5 6 7 8 9 10; 2 2 3 4 5 5 2 3 3]';%结果b = a([[boolean(1); diff(a(::,2))〜= 0],1);

4年前|0

回答
如何使用TextScan阅读字符串?
Have you tried specifying the delimiter? formatSpec = '%d %s %f %f %f %f %f %f %f %f %f'; C = textscan(fid,formatSpec,15...

4年前|0

回答
帮助DEC2HEX(敏感和零)
您可以更改行:carshex = dec2hex(carsDecimal);to:carshex = lower(arrayfun(@(x)(dec2hex(x)),carsdecimal,...

4年前|1

|accepted

回答
not enough input argument
Your code, which I've included below takes two inputs, x and y, however you don't use the first input 'x' anywhere in your code,...

4年前|0

回答
为什么此代码是错误???
因为鉴于您对x和y的定义,因此表达式_3+(-x)+(-y)_ _在[3 1 -1 -1 -3]中产生,并且无法计算FAC ...

4年前|0

Solved


子集总和
Given a vector v of integers and an integer n, return the the indices of v (as a row vector in ascending order) that sum to n. I...

在4年前

Solved


Create a Multiplication table matrix...
Create a product table in this format: P = [ 1 2 3 4 5; 2 4 6 8 10; 3 6 9 12 15; 4 8 12 1...

在4年前

Solved


确定数组是否为空
输入一个矩阵X,如果X为空,则输出Y为true,否则为false。

在4年前

Solved


谁知道PI的最后一位数字?
There is only one man who knows the last digit of pi, who is that man? Give the name of that man, who, by popular believe, can ...

在4年前

Solved


说些有趣的话
说些有趣的话。您的解决方案将(完全自动,客观地)根据多么聪明或有趣的评分。

在4年前

Solved


Energy of a photon
*&#9883&#9762&#9883&#9762&#9883&#9762&#9883*给出了​​Giga Hertz中光子的频率F。找到这个...

在4年前

Solved


每个人的免费通行证!
_Simply return the name of the coolest numerical computation software ever_ *Extra reward* (get a _freepass_): Once a mont...

在4年前

Solved


在3D矩阵中找到最大的价值
给定3D矩阵A,找到最大的值。示例>> a = 1:9;>> a = reshape(a,[3 1 3]);>> islargest(a)a ...

在4年前

Solved


Indexed Probability Table
This question was inspired by a Stack Overflow question forwarded to me by Matt Simoneau. Given a vector x, make an indexed pro...

在4年前

Solved


独角兽上的角数!
Calculate the number of horns on a *unicorn*! And I'm talking about a unicorn with not more than one horn on it!

在4年前

Solved


找到毕达哥拉斯三重
给定四个不同的正数,即a,b,c和d,以越来越多的顺序提供:a

在4年前

Solved


这三角形是正确的吗?
Given any three positive numbers a, b, c, return true if the triangle with sides a, b and c is right-angled. Otherwise, return f...

在4年前

Solved


球星的表面
您只是发现了它的圆周,这就是输入。

在4年前

Solved


Solve the Sudoku Row
*描述*在大多数溶解算法(计算机化或手动)的末尾,发生了一个简单而乏味的任务。ta ...

在4年前

Solved


How to subtract?
*&plusmn&plusmn&plusmn&plusmn&plusmn&plusmn&plusmn&plusmn&plusmn&plusmn&plusmn * *想象您需要减去一个...

在4年前

Solved


Extract leading non-zero digit
指出,领先数字的分布不是随机的。这个...

在4年前

Solved


产生矢量1,2,2,3,3,3,4,4,4,44
生成一个矢量1,2,2,3,3,3,3,4,4,4,4,因此,如果n = 3,则返回[1 2 2 3 3 3],如果n = 5,则返回[1 22 ...

在4年前

Solved


扭转字符串的单词(不是字母)
*Description* Change the words of a string such that the words appear in reverse order. You may assume that the string is a n...

在4年前

Solved


添加两个数字
计算两个数字的总和。示例输入= [2 3]输出= 5

在4年前

Solved


电视屏幕尺寸
给定电视屏幕的宽度与_W_和_h_的宽度比,以及电视的对角线长度_l_,返回t ...

在4年前

Solved


Sums with Excluded Digits
将所有整数从1个整数添加到n,其中数字M未显示。M将永远是0到9的一个数字整数。不...

在4年前

Solved


矩形的尺寸
矩形的较长一侧是较短一侧的三倍。如果对角线的长度为x,请找到宽度...

在4年前

Solved


5th Time's a Charm
编写一个将返回输入值的函数。但是,您的功能必须失败前四次,只能发挥作用...

在4年前

装载更多