Statistiques
RANG
256 316
of 301 383
RÉPUTATION
0
CONTRIBUTIONS
4 Questions
0 Réponses
ACCEPTATION DE VOS RÉPONSES
25.0%
VOTES REÇUS
0
RANG
of 21 252
RÉPUTATION
N/A
CLASSEMENT MOYEN
0.00
CONTRIBUTIONS
0 Fichier
TÉLÉCHARGEMENTS
0
ALL TIME TÉLÉCHARGEMENTS
0
CONTRIBUTIONS
0 Publications
CONTRIBUTIONS
0 Public Chaîne
CLASSEMENT MOYEN
CONTRIBUTIONS
0 Point fort
NOMBRE MOYEN DE LIKES
Feeds
A résolu
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:...
environ 8 ans il y a
A résolu
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...
environ 8 ans il y a
A résolu
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...
environ 8 ans il y a
A résolu
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 ...
environ 8 ans il y a
Question
what does it mean by [ ] in the following code
min(N,[],3)
plus de 8 ans il y a | 2 réponses | 0
2
réponsesQuestion
Write a function called peri_sum that computes the sum of the elements of an input matrix A that are on the “perimeter” of A. In other words, it adds together the elements that are in the first and last rows and columns. IS MY CODE RIGHT?
function [z]=peri_sum(B) z=sum(B(1,1:end))+sum(B(2:1:end,1))+sum(B(2:1:end,end))+sum(B(end,2:1:end-1)); end
plus de 8 ans il y a | 1 réponse | 0
0
réponseQuestion
it doesn't work .so,what is the problem?
function w= flip_it(v) w = v(end:-1:1); end
plus de 8 ans il y a | 1 réponse | 0
1
réponseQuestion
#what is the problem in the code so that it is not accepted??
function [area,cf]=circle(r) cf=2*pi*r; area=pi*r*r; end
plus de 8 ans il y a | 1 réponse | 0

