Pritom Kumar Saha
Statistics
全部
Content Feed
解决了
分割字符串我nto chunks of specified length
Given a string and a vector of integers, break the string into chunks whose lengths are given by the elements of the vector. Ex...
12 days ago
解决了
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...
12 days ago
解决了
Create a cell array out of a struct
Create a cell array out of a (single) struct with the fieldname in the first column and the value in the second column: in: ...
17 days 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...
17 days ago
Question
ISOMAP函数中的错误
I was trying to run the Isomap function on my dataset (32 rows and 1632 columns). function [Y, R, E] = Isomap(D, n_fcn, n_size...
4个月前|0答案|0
0
answersQuestion
Color map error when I write "colorMap = Map.black"?
when I write colorMap = Map.black; it shows error Unable to resolve the name Map.black. Error in untitled4 (line 14) ...
4个月前|1 answer | 0
1
answer解决了
Which doors are open?
There are n doors in an alley. Initially they are all shut. You have been tasked to go down the alley n times, and open/shut the...
7个月前
解决了
矩阵中的最大值
Find the maximum value in the given matrix. For example, if A = [1 2 3; 4 7 8; 0 9 1]; then the answer is 9.
7个月前
解决了
阅读数字和插值丢失的数据
Given an input cell array of strings s, pick out the second column and turn it into a row vector of data. Missing data will be i...
7个月前
解决了
Remove the air bubbles
Given a matrix a, return a matrix b in which all the zeros have "bubbled" to the top. That is, any zeros in a given column shoul...
10 months ago
解决了
Interpolator
You have a two vectors, a and b. They are monotonic and the same length. Given a value, va, where va is between a(1) and a(end...
10 months ago
Answered
从xml文件读值
Try S = readstruct("abcd.xml") it works on my matlab version. It should work on matlab 2020b or higher version.
从xml文件读值
Try S = readstruct("abcd.xml") it works on my matlab version. It should work on matlab 2020b or higher version.
11个月前| 4
Answered
将XML文件转换为MATLAB结构
Try S = readstruct("abcd.xml") it works on my matlab version. It should work on matlab 2020b or higher version.
将XML文件转换为MATLAB结构
Try S = readstruct("abcd.xml") it works on my matlab version. It should work on matlab 2020b or higher version.
11个月前| 3
解决了
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 ...
11个月前
解决了
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 ...
11个月前
解决了
Get the length of a given vector
Given a vector x, the output y should equal the length of x.
11个月前
解决了
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...
11个月前
解决了
时间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:...
11个月前