Gelöst


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

mehr als 13 Jahre vor

Gelöst


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

mehr als 13 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:...

mehr als 13 Jahre vor

Frage


Why the code gives an error?
Hi I am getting the following error in the code shown below: function[X] = gauss_seidel(A,b) N = length(b); X = zeros(N,1...

mehr als 13 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to Perform Simple Pattern Recognition?
Hi, I have a problem where the co-ordinates of some points are given. When the points are connected, we get a letter of English ...

mehr als 13 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to check divisibility?
Hi, I need to check whether two numbers are divisible or not. But how can I do that in Matlab? e.g. Matlab gives 1.5 for 3/2 but...

mehr als 13 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


How can I create a variable length string in MATLAB ?
I want to create a string whose length and elements can be modified later i.e. I can change the elements of string and add new e...

fast 14 Jahre vor | 1 Antwort | 0

1

Antwort