Resuelto


Convert a Cell Array into an Array
Given a square cell array: x = {'01', '56'; '234', '789'}; return a single character array: y = '0123456789'

más de 5 años hace

Resuelto


Split a string into 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...

más de 5 años hace

Resuelto


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

más de 5 años hace

Resuelto


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

más de 5 años hace

Resuelto


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

más de 5 años hace

Resuelto


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

más de 5 años hace

Respondida
HELP!! Extract from multiple .csv (in table format) the column number 10
I assume that you already check the file 'Jan_14_1131.csv' and make sure there is a parameter 'keyResponse2corr' in the csv file...

alrededor de 6 años hace | 1

| aceptada

Respondida
i want to find maximum and minimum values in a matrix continuosly
Try this % define an arbitray array a a = [1, 2, 5, 6, 3, 2, 5, 8, 9, 1]; if length(a) <= 2 extreme = a; else ...

alrededor de 6 años hace | 0

| aceptada

Respondida
Hello! How can i draw a line at an angle of 90 degrees from another line, having a starting point different than (0,0)?
Hope I understand your question correctly. If you want to add a line segment (denoted as newL) which is perpendicular to a rand...

alrededor de 6 años hace | 0

| aceptada

Respondida
How to look at the source code for MATLAB's built-in sort function?
I'm not sure whether this is what you need, I would recommend you to record (by tic and toc) and analyze the exceution time to f...

alrededor de 6 años hace | 1

Respondida
Line comment change string cell shape
I just try a two different line comment (matlab2019b), and here are the results, (1) >> a = {'A', 'B'} a = 1×2 cell a...

alrededor de 6 años hace | 0

| aceptada