内容提要
问题
Replace 0 indices in array with 1's
Take a incoming vector, and replace 0's with ones
5年前|0|75个求解器
Solved
Calculate the centroid of a triangle
信息:https://en.wikipedia.org/wiki/centroid示例输入:x = [0 0 1];%x坐标y = [0 1 0];%y-coordinat ...
5年前
问题
检查输入变量是字符串还是数字
检查是否输入变量是一个数字或一个生态学者ng, given a string input (i.e. '1' is 1 and thus a number, 'a' is a string).
5年前|0|59个求解器
问题
找到两个向量的平均值
Take two vectors, and output the mean of them (bonus if you don't use the in-built mean function)
5年前|0|78个求解器
问题
String Delimination and Outputting
In this problem, take an incoming string and deliminate the string based on spaces. Output the first string in between the space...
5年前|1|45个求解器
问题
更多的Simple String Concatenation
采用第一个字符串输入,将字符串的顺序从末端转换为启动(即Apple成为Elppa),添加一个空间A ...
5年前|0|52个求解器
问题
Simple String Concatenation
This is a simple problem involving taking two incoming strings, and outputting the concatenated string with a space separating t...
5年前|1|60 solvers
Solved
边缘三角区域
计算侧面X的等边三角形的面积。<< http://upload.wikimedia.org/wikipedia/commons/e/e0/equileral-tr ...
5年前
Solved
交换输入参数
Write a two-input, two-output function that swaps its two input arguments. For example: [q,r] = swap(5,10) returns q = ...
5年前
Solved
How to find the position of an element in a vector without using the find function
Write a function posX=findPosition(x,y) where x is a vector and y is the number that you are searching for. Examples: fin...
5年前