Community Profile

photo

ddd ppp


33 total contributions since 2017

ddd ppp's Badges

  • Thankful Level 2
  • First Answer
  • Promoter
  • Speed Demon
  • Creator
  • Commenter
  • Solver

View details...

Contributions in
View by

Answered
Where is the recursion?
thanks

4 Monate ago | 0

Question


Where is the recursion?
I am getting an infinite loop and running out of memory here. Please help find the recursion. I have not used matlab in a while....

4 Monate ago | 2 answers | 0

2

answers

Question


What are some things you wish you knew when you were new to matlab?
I just saw that in a long for loop where end is out of the page, if you mouse over the for, the line of the end appears on the b...

etwa ein Jahr ago | 1 answer | 0

1

answer

Question


Whats the use of an inline function (function at end of script)?
is the primary benefit not having extra function files for a script?

etwa ein Jahr ago | 1 answer | 0

1

answer

Answered
what does the red dot on the line number in matlab mean?
OMG IT MEANS TO STOP ON THE LINE. that is so useful

etwa ein Jahr ago | 0

Question


what does the red dot on the line number in matlab mean?
what does the red dot on the line number in matlab mean? A picture is included. <</matlabcentral/answers/uploaded_files/11599...

etwa ein Jahr ago | 2 answers | 0

2

answers

Question


help with prettyprint or mlx display
Im trying to use pretty print for a long equation line and its not working. also, the documentation says: pretty is not re...

etwa ein Jahr ago | 0 answers | 0

0

answers

Question


why does this short for loop crash?
for i=1:33, matlab crashes. This loop might crash too. Is there a simple error here? tlist=0 dt =.1 for i=1:5 tlis...

etwa ein Jahr ago | 0 answers | 0

0

answers

Question


simplest way to build a series of numbers inside a for loop
im trying to build a series of numbers inside a for loop. here is what i used to do this. t=0 dt=.1 ii=0 for i=1:10 ...

etwa ein Jahr ago | 1 answer | 0

1

answer

Solved


kmph to mps
convert kilometer per hour to meter per second

etwa ein Jahr ago

Solved


The maximum sum of squares (testing)
Create a function file with an input maxval to determine the maximum number of terms for the series 1^2 + 2^2 + 3^2 + ... such t...

etwa ein Jahr ago

Problem


The maximum sum of squares (testing)
Create a function file with an input maxval to determine the maximum number of terms for the series 1^2 + 2^2 + 3^2 + ... such t...

etwa ein Jahr ago | 0

Solved


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

etwa ein Jahr ago

Solved


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

etwa ein Jahr ago

Solved


Check if number exists in vector
Return 1 if number _a_ exists in vector _b_ otherwise return 0. a = 3; b = [1,2,4]; Returns 0. a = 3; b = [1,...

etwa ein Jahr ago

Solved


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

etwa ein Jahr ago

Question


Commenting out large sections does not work sometimes
hi, im trying to comment out this text: Write a MATLAB script that will load a *.csv (comma separated value) file containi...

mehr als ein Jahr ago | 1 answer | 0

1

answer

Solved


Find all elements less than 0 or greater than 10 and replace them with NaN
Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...

mehr als ein Jahr ago

Solved


Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

mehr als ein Jahr ago

Solved


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

mehr als ein Jahr ago

Solved


Back and Forth Rows
Given a number n, create an n-by-n matrix in which the integers from 1 to n^2 wind back and forth along the rows as shown in the...

mehr als ein Jahr ago

Solved


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

mehr als ein Jahr ago

Solved


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

mehr als ein Jahr ago

Solved


Column Removal
Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; and ...

mehr als ein Jahr ago

Solved


Add two numbers
Given a and b, return the sum a+b in c.

mehr als ein Jahr ago

Solved


Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

mehr als ein Jahr ago

Solved


Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...

mehr als ein Jahr ago

Solved


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

mehr als ein Jahr ago

Solved


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

mehr als ein Jahr ago

Load more