Community Profile

photo

SJ Won


Last seen: ongeveer een jaar ago|Active since 2019

Statistics

全部
  • 感恩3级
  • Matlab Master简介
  • 评论者
  • 求解器

查看徽章

Content Feed

查看

解决了


Convert a Cell Array into an Array
给定一个方形单元格数组:x = {'01','56';'234','789'};返回单个字符数组:y ='0123456789'

bijna 3 jaar ago

解决了


从单元格数中删除元素
您可以轻松地从普通矩阵中删除元素(或任何维度中的列),但分配该值(或范围)为空...。

bijna 3 jaar ago

解决了


修复单元格数组的最后一个元素
注意:这直接从

bijna 3 jaar ago

解决了


String Array Basics, Part 1: Convert Cell Array to String Array; No Missing Values
and cell array are two types of containers for s...

bijna 3 jaar ago

解决了


Who Has the Most Change?
You have a matrix for which each row is a person and the columns represent the number of quarters, nickels, dimes, and pennies t...

bijna 3 jaar ago

解决了


Sort a list of complex numbers based on far they are from the origin.
给定复数z的列表,返回一个Zsort的列表,使得与原点最远的数字(0+0i)出现f ...

bijna 3 jaar ago

解决了


Ordinal numbers
Given an integer n, return the corresponding ordinal number as a character string. For example, ord(1)='1st' ord(2)=...

bijna 3 jaar ago

解决了


Right and wrong
Given a vector of lengths [a b c], determines whether a triangle with those sides lengths is a right triangle:

bijna 3 jaar ago

解决了


Natural numbers in string form
Create a cell array of strings containing the first n natural numbers. _Slightly_ harder than it seems like it should be. Ex...

bijna 3 jaar ago

解决了


Cell Counting: How Many Draws?
You are given a cell array containing information about a number of soccer games. Each cell contains one of the following: * ...

bijna 3 jaar ago

Question


Converting strings in cell array into array
我正在尝试解决这个问题:https://www.tianjin-qmedu.com/matlabcentral/cody/problems/1899-convert-a-cell-a-cell-aray-array-array-into-into-an-aray ...

bijna 3 jaar ago | 1 answer | 0

1

answer

解决了


Convert a numerical matrix into a cell array of strings
Given a numerical matrix, output a *cell array of string*. For example: if input = 1:3 output is {'1','2','3'} whic...

bijna 3 jaar ago

解决了


lengt指定一个字符串分割成块h
Given a string and a vector of integers, break the string into chunks whose lengths are given by the elements of the vector. Ex...

bijna 3 jaar ago

解决了


Cell joiner
You are given a cell array of strings and a string delimiter. You need to produce one string which is composed of each string fr...

bijna 3 jaar ago

解决了


Vector creation
使用从1到给定值的方括号创建一个向量。

bijna 3 jaar ago

解决了


Doubling elements in a vector
Given the vector A, return B in which all numbers in A are doubling. So for: A = [ 1 5 8 ] then B = [ 1 1 5 ...

bijna 3 jaar ago

解决了


Flip the vector from right to left
Flip the vector from right to left. Examples x=[1:5], then y=[5 4 3 2 1] x=[1 4 6], then y=[6 4 1]; Request not ...

bijna 3 jaar ago

解决了


Create a vector
Create a vector from 0 to n by intervals of 2.

bijna 3 jaar ago

解决了


Whether the input is vector?
Given the input x, return 1 if x is vector or else 0.

bijna 3 jaar ago

解决了


查找最大
Find the maximum value of a given vector or matrix.

bijna 3 jaar ago

解决了


Get the length of a given vector
Given a vector x, the output y should equal the length of x.

bijna 3 jaar ago

解决了


Inner product of two vectors
找到两个向量的内部产物。

bijna 3 jaar ago

解决了


按降序安排向量
If x=[0,3,4,2,1] then y=[4,3,2,1,0]

bijna 3 jaar ago

解决了


Weighted average
Given two lists of numbers, determine the weighted average. Example [1 2 3] and [10 15 20] should result in 33.333...

bijna 3 jaar ago

解决了


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

bijna 3 jaar ago

解决了


Fibonacci sequence
计算第n个斐波那契号。给定n,返回f,其中f = fib(n)和f(1)= 1,f(2)= 1,f(3)= 2,...示例:inpu ...

bijna 3 jaar ago

解决了


求和数字
Given n, find the sum of the digits that make up 2^n. Example: Input n = 7 Output b = 11 since 2^7 = 128, and 1 + ...

bijna 3 jaar ago

解决了


返回N的3N+1序列
A Collatz sequence is the sequence where, for a given number n, the next number in the sequence is either n/2 if the number is e...

bijna 3 jaar ago

Question


Read only numbers from string
给定一个字符串,如何仅读取数字?我试图将它们总结起来。这是我的解决方案:拆分= strsplit ...

bijna 3 jaar ago | 1 answer | 0

1

answer

解决了


查找所有小于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 ...

bijna 3 jaar ago

Load more