A résolu


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

plus de 5 ans il y a

A résolu


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

plus de 5 ans il y a

A résolu


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

plus de 5 ans il y a

A résolu


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

plus de 5 ans il y a

A résolu


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

plus de 5 ans il y a

A résolu


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

plus de 5 ans il y a

Réponse apportée
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...

environ 6 ans il y a | 1

| A accepté

Réponse apportée
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 ...

environ 6 ans il y a | 0

| A accepté

Réponse apportée
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...

environ 6 ans il y a | 0

| A accepté

Réponse apportée
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...

environ 6 ans il y a | 1

Réponse apportée
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...

environ 6 ans il y a | 0

| A accepté