Risposto
Return Values that are Between Two Values
As per my understanding you want to get the values between the lower and upper threshold from your vector. I will try to explai...

oltre un anno fa | 0

Risposto
How can i plot this function? y=0.75/(log10(x)*2).^2
As per my understanding you want to plot the given function in 2D plot . It is just that you forgot to add '.' before '/' to do...

oltre un anno fa | 0

| accettato

Risolto


Matlab Basics - Rounding II
Write a script to round a variable x to 3 decimal places: e.g. x = 2.3456 --> y = 2.346

oltre un anno fa

Risolto


MATLAB Basic: rounding IV
Do rounding towards plus infinity. Example: -8.8, answer -8 +8.1 answer 9 +8.50 answer 9

oltre un anno fa

Risolto


MATLAB Basic: rounding III
Do rounding towards minus infinity. Example: -8.8, answer -9 +8.1 answer 8 +8.50 answer 8

oltre un anno fa

Risolto


MATLAB Basic: rounding II
Do rounding nearest integer. Example: -8.8, answer -9 +8.1 answer 8 +8.50 answer 9

oltre un anno fa

Risolto


MATLAB Basic: rounding
Do rounding near to zero Example: -8.8, answer -8 +8.1 answer 8

oltre un anno fa

Risolto


Number of 1s in a binary string
Find the number of 1s in the given binary string. Example. If the input string is '1100101', the output is 4. If the input stri...

oltre un anno fa

Risolto


How many digits are there?
Input(s) - any string Output(n) - number of digits within string s

oltre un anno fa

Risolto


Make a list string
Given a cell string, produce a string separating the items with spaces and commas and with an 'and' preceding the final item, an...

oltre un anno fa

Risolto


Convert Two Character String into a Binary Vector
Given a string "XOXXO" convert it into a binary vector. [1 0 1 1 0] Paul Berglund implemented an optimal method in <http://ww...

oltre un anno fa

Risolto


Join Strings with Multiple Different Delimiters
The idea is to form the string S by interleaving the elements of a cell array of strings DELIMITER and another cell array of st...

oltre un anno fa

Risposto
Multiple of dataTipTextRow on plot
A per my understanding you want to add two sets of data to same dataTipTextRow. It is not possible to add another set of data a...

oltre un anno fa | 0

Risposto
Exacting a constant range/window of values from a matrix (skipping one cell each time).
As per my understanding you want to skip every 25th value of a matrix. I will try to explain it using an example below . ...

oltre un anno fa | 0

Risolto


Make a random, non-repeating vector.
This is a basic MATLAB operation. It is for instructional purposes. --- If you want to get a random permutation of integer...

oltre un anno fa

Risolto


Return the first and last characters of a character array
Return the first and last character of a string, concatenated together. If there is only one character in the string, the functi...

oltre un anno fa

Risolto


Magic is simple (for beginners)
Determine for a magic square of order n, the magic sum m. For example m=15 for a magic square of order 3.

oltre un anno fa

Risolto


Swap the input arguments
Write a two-input, two-output function that swaps its two input arguments. For example: [q,r] = swap(5,10) returns q = ...

oltre un anno fa

Risolto


Reverse the vector
Reverse the vector elements. Example: Input x = [1,2,3,4,5,6,7,8,9] Output y = [9,8,7,6,5,4,3,2,1]

oltre un anno fa

Risolto


String Array Basics, Part 1: Convert Cell Array to String Array; No Missing Values
<http://www.mathworks.com/help/matlab/characters-and-strings.html String array> and cell array are two types of containers for s...

oltre un anno fa

Risolto


Fix the last element of a cell array
Note: this is lifted directly from <http://www.mathworks.com/matlabcentral/answers/82825-puzzler-for-a-monday Puzzler for a Mond...

oltre un anno fa

Risolto


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

oltre un anno fa

Risolto


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

oltre un anno fa

Risolto


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

oltre un anno fa

Risolto


Remove element(s) from cell array
You can easily remove an element (or a column in any dimension) from a normal matrix, but assigning that value (or range) empty....

oltre un anno fa

Risolto


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

oltre un anno fa

Risolto


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

oltre un anno fa

Risposto
Matrix Reshaping 9x9 to 3x27
As per my understanding you want to convert a 9x9 matric to 3x27 matix. I will try to explain it using an example below ...

oltre un anno fa | 0

Risposto
add min and max data tips for multiple lines.
As per my understanding you want to add min and max data tips for multiple lines. I will try to explain it for a single lin...

oltre un anno fa | 0

Risposto
how do i use datetime adjust xtick
As per my understanding you want to know how to adjust xticks in datetime plot I will try to explain it using an example belo...

oltre un anno fa | 0

| accettato

Carica altro