photo

Millone


none

Con actividad desde 2015

Followers: 0   Following: 0

Mensaje

Just starting with Matlab

Estadística

All
  • Thankful Level 1
  • Solver

Ver insignias

Feeds

Ver por

Pregunta


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

alrededor de 9 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

alrededor de 9 años hace | 3 respuestas | 0

3

respuestas

Pregunta


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

alrededor de 9 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

alrededor de 9 años hace | 4 respuestas | 0

4

respuestas

Resuelto


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

alrededor de 9 años hace

Resuelto


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

alrededor de 9 años hace

Resuelto


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

alrededor de 9 años hace

Resuelto


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

alrededor de 9 años hace

Resuelto


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

alrededor de 9 años hace

Resuelto


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

alrededor de 9 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...

alrededor de 9 años hace

Pregunta


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

más de 9 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 9 años hace | 1 respuesta | 0

1

respuesta