photo

Millone


none

Aktiv seit 2015

Followers: 0   Following: 0

Nachricht

Just starting with Matlab

Statistik

All
  • Thankful Level 1
  • Solver

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


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

etwa 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 9 Jahre vor | 3 Antworten | 0

3

Antworten

Frage


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

etwa 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 9 Jahre vor | 4 Antworten | 0

4

Antworten

Gelöst


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

etwa 9 Jahre vor

Gelöst


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

etwa 9 Jahre vor

Gelöst


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

etwa 9 Jahre vor

Gelöst


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 9 Jahre vor

Gelöst


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

etwa 9 Jahre vor

Gelöst


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

etwa 9 Jahre vor

Gelöst


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 9 Jahre vor

Frage


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

mehr als 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 9 Jahre vor | 1 Antwort | 0

1

Antwort