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

mer än ett år ago | 0

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

mer än ett år ago | 0

| accepted

Solved


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

mer än ett år ago

Solved


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

mer än ett år ago

Solved


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

mer än ett år ago

Solved


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

mer än ett år ago

Solved


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

mer än ett år ago

Solved


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

mer än ett år ago

Solved


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

mer än ett år ago

Solved


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

mer än ett år ago

Solved


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

mer än ett år ago

Solved


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

mer än ett år ago

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

mer än ett år ago | 0

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

mer än ett år ago | 0

Solved


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

mer än ett år ago

Solved


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

mer än ett år ago

Solved


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.

mer än ett år ago

Solved


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

mer än ett år ago

Solved


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]

mer än ett år ago

Solved


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

mer än ett år ago

Solved


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

mer än ett år ago

Solved


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

mer än ett år ago

Solved


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

mer än ett år ago

Solved


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

mer än ett år ago

Solved


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

mer än ett år ago

Solved


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

mer än ett år ago

Solved


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

mer än ett år ago

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

mer än ett år ago | 0

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

mer än ett år ago | 0

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

mer än ett år ago | 0

| accepted

Load more