Community Profile

photo

Millone


none

Active since 2015

Followers: 0   Following: 0

Message

Just starting with Matlab

Statistics

All
  • Thankful Level 1
  • Solver

View badges

Feeds

View by

Question


Error in reading a dat file
I am trying to read a binary file that was written as following: if success== true [row,col,v] = find(A); row...

9 years ago | 1 answer | 0

1

answer

Question


Make matrix from input size
I have an input of zeros n x n and I would like to output a matrix with an index like this: function [ out ] = test3( mat...

9 years ago | 3 answers | 0

3

answers

Question


Find multiple true in same row
I am trying to detect if there is more than one true in the same column of a matrix: A=[1 0 0; 1 0 0] r= sum(A,2); ...

9 years ago | 1 answer | 0

1

answer

Question


Matrix with Bell Triangle
I need to reshape a portion of a matrix computed with the values of a bell triangle where n is the number of rows of a matrix. ...

9 years ago | 4 answers | 0

4

answers

Solved


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

9 years ago

Solved


Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

9 years ago

Solved


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

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

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

9 years ago

Solved


Is my wife right?
Regardless of input, output the string 'yes'.

9 years ago

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

9 years ago

Question


Persistent variable buffer size
I need to make a persistent variable that can take maximum x scalars. After x is reached the oldest scalar stored gets out and t...

9 years ago | 1 answer | 0

1

answer

Question


How to check for empty matrix, scalar and vector without builtin functions
I am lost on this. How do I check for empty matrix, scalar or vector without using these builtin functions: isempty, isscalar, a...

9 years ago | 1 answer | 0

1

answer