photo

SRT HellKitty


Con actividad desde 2018

Followers: 0   Following: 0

Estadística

All
  • First Review
  • Knowledgeable Level 1
  • First Answer
  • Solver

Ver insignias

Feeds

Ver por

Resuelto


Make an awesome ramp for a tiny motorcycle stuntman
Okay, given a vector, say v=[1 3 6 9 11], turn it into a matrix 'ramp' like so: m=[1 3 6 9 11; 3 6 9 11 0; 6 9 ...

más de 6 años hace

Resuelto


Back to basics 21 - Matrix replicating
Covering some basic topics I haven't seen elsewhere on Cody. Given an input matrix, generate an output matrix that consists o...

más de 6 años hace

Resuelto


Weighted average
Compute the weighted average Y, of the vector A, given the weight vector W. The weighted average is the sum of the dot produc...

más de 6 años hace

Resuelto


Weighted average
Given two lists of numbers, determine the weighted average. Example [1 2 3] and [10 15 20] should result in 33.333...

más de 6 años hace

Respondida
Plot sigma value to linear curve
To get a vertical line you use the a simple 2 element vector where x does not change(to make a horizontal line simply make the y...

más de 6 años hace | 0

Respondida
How can i change the colure of points in a scatter graph depedning on another function?
I believe there are 2 things that are incorrect in this. The first is that scatter() has variable inputs that are set to spe...

más de 6 años hace | 0

Respondida
Importing data: recognizing if a variable is present
You can read about the <https://www.mathworks.com/help/matlab/ref/exist.html Exist Command here.> For your example, you can d...

más de 6 años hace | 0

| aceptada

Respondida
Getting Error in Matlab GUIDE
I'm not sure this will fix the error you are encountering, but when you set a textbox you need to use this context; set(ha...

más de 6 años hace | 0

Respondida
creating a matrix by a vector in the following condition
If each column is always going to be the same length and 'v' is always going to be 1-5 repeated this should work. matrix =...

más de 6 años hace | 0

Respondida
How can I remove the background noise and keep only the cell (white object) in an image such as this ??
You can take a look at this code in File Exchange that <https://www.mathworks.com/matlabcentral/fileexchange/4732-ascii-text-ima...

más de 6 años hace | 0

Resuelto


Counting Money
Add the numbers given in the cell array of strings. The strings represent amounts of money using this notation: $99,999.99. E...

más de 6 años hace

Resuelto


Most nonzero elements in row
Given the matrix a, return the index r of the row with the most nonzero elements. Assume there will always be exactly one row th...

más de 6 años hace

Resuelto


Pangrams!
A pangram, or holoalphabetic sentence, is a sentence using every letter of the alphabet at least once. Example: Input s ...

más de 6 años hace

Resuelto


Return the 3n+1 sequence for n
A Collatz sequence is the sequence where, for a given number n, the next number in the sequence is either n/2 if the number is e...

más de 6 años hace

Resuelto


Remove any row in which a NaN appears
Given the matrix A, return B in which all the rows that have one or more <http://www.mathworks.com/help/techdoc/ref/nan.html NaN...

más de 6 años hace

Resuelto


Energy of a photon
*&#9883 &#9762 &#9883 &#9762 &#9883 &#9762 &#9883* Given the frequency F of a photon in giga hertz. Find energy E of this...

más de 6 años hace

Resuelto


How to subtract?
*&plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn* * Imagine you need to subtract one...

más de 6 años hace

Resuelto


Finding Perfect Squares
Given a vector of numbers, return true if one of the numbers is a square of one of the other numbers. Otherwise return false. E...

más de 6 años hace

Resuelto


Remove the vowels
Remove all the vowels in the given phrase. Example: Input s1 = 'Jack and Jill went up the hill' Output s2 is 'Jck nd Jll wn...

más de 6 años hace

Resuelto


Summing digits
Given n, find the sum of the digits that make up 2^n. Example: Input n = 7 Output b = 11 since 2^7 = 128, and 1 + ...

más de 6 años hace

Resuelto


Create times-tables
At one time or another, we all had to memorize boring times tables. 5 times 5 is 25. 5 times 6 is 30. 12 times 12 is way more th...

más de 6 años hace

Respondida
How can I match a value on a matlab plot?
Say you have data with peaks for the Y-Axis and linear data for the X-Axis Y = [1:5,1:5,1:5]; X = [1:15]; Now you hav...

más de 6 años hace | 0

Respondida
Variable importing into code
<https://www.mathworks.com/matlabcentral/answers/96201-how-do-i-access-a-base-workspace-variable-from-within-a-function I think ...

más de 6 años hace | 0

Resuelto


Return the largest number that is adjacent to a zero
This example comes from Steve Eddins' blog: <http://blogs.mathworks.com/steve/2009/05/27/learning-lessons-from-a-one-liner/ Lear...

más de 6 años hace

Resuelto


Find the longest sequence of 1's in a binary sequence.
Given a string such as s = '011110010000000100010111' find the length of the longest string of consecutive 1's. In this examp...

más de 6 años hace

Resuelto


Find the numeric mean of the prime numbers in a matrix.
There will always be at least one prime in the matrix. Example: Input in = [ 8 3 5 9 ] Output out is 4...

más de 6 años hace

Resuelto


Remove all the consonants
Remove all the consonants in the given phrase. Example: Input s1 = 'Jack and Jill went up the hill'; Output s2 is 'a ...

más de 6 años hace

Resuelto


Make a checkerboard matrix
Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Examp...

más de 6 años hace

Resuelto


Who Has the Most Change?
You have a matrix for which each row is a person and the columns represent the number of quarters, nickels, dimes, and pennies t...

más de 6 años hace

Resuelto


Determine whether a vector is monotonically increasing
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...

más de 6 años hace

Cargar más