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

mehr als ein Jahr vor | 0

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

mehr als ein Jahr vor | 0

| akzeptiert

Gelöst


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

mehr als ein Jahr vor

Gelöst


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

mehr als ein Jahr vor

Gelöst


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

mehr als ein Jahr vor

Gelöst


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

mehr als ein Jahr vor

Gelöst


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

mehr als ein Jahr vor

Gelöst


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

mehr als ein Jahr vor

Gelöst


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

mehr als ein Jahr vor

Gelöst


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

mehr als ein Jahr vor

Gelöst


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

mehr als ein Jahr vor

Gelöst


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

mehr als ein Jahr vor

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

mehr als ein Jahr vor | 0

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

mehr als ein Jahr vor | 0

Gelöst


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

fast 2 Jahre vor

Gelöst


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

fast 2 Jahre vor

Gelöst


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.

fast 2 Jahre vor

Gelöst


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

fast 2 Jahre vor

Gelöst


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]

fast 2 Jahre vor

Gelöst


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

fast 2 Jahre vor

Gelöst


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

fast 2 Jahre vor

Gelöst


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

fast 2 Jahre vor

Gelöst


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

fast 2 Jahre vor

Gelöst


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

fast 2 Jahre vor

Gelöst


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

fast 2 Jahre vor

Gelöst


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

fast 2 Jahre vor

Gelöst


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

fast 2 Jahre vor

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

fast 2 Jahre vor | 0

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

fast 2 Jahre vor | 0

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

fast 2 Jahre vor | 0

| akzeptiert

Mehr laden