photo

elias GR


Last seen: plus d'un an il y a Actif depuis 2012

Followers: 0   Following: 0

Message

Statistiques

All
MATLAB Answers

0 Questions
12 Réponses

Cody

3 Problèmes
48 Solutions

RANG
2 827
of 300 857

RÉPUTATION
22

CONTRIBUTIONS
0 Questions
12 Réponses

ACCEPTATION DE VOS RÉPONSES
0.00%

VOTES REÇUS
3

RANG
 of 21 097

RÉPUTATION
N/A

CLASSEMENT MOYEN
0.00

CONTRIBUTIONS
0 Fichier

TÉLÉCHARGEMENTS
0

ALL TIME TÉLÉCHARGEMENTS
0

RANG
11 228
of 171 361

CONTRIBUTIONS
3 Problèmes
48 Solutions

SCORE
565

NOMBRE DE BADGES
5

CONTRIBUTIONS
0 Publications

CONTRIBUTIONS
0 Public Chaîne

CLASSEMENT MOYEN

CONTRIBUTIONS
0 Point fort

NOMBRE MOYEN DE LIKES

  • First Review
  • Knowledgeable Level 2
  • Revival Level 1
  • First Answer
  • Quiz Master
  • Creator
  • Commenter
  • Promoter
  • Solver

Afficher les badges

Feeds

Afficher par

Réponse apportée
How to get the the arrow length as legend in quiver function ?????
I had the same problem. I finally used the following workaround: 'hold on' the figure and use the 'quiver' command again in orde...

presque 8 ans il y a | 3

| A accepté

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

plus de 9 ans il y a

Réponse apportée
How to speed up a for loop ?
If A have 3 rows and n columns, try that: angle=asin(A(3,:))./(sqrt(A(3,:).^2+A(2,:).^2+A(1,:).^2));

plus de 9 ans il y a | 0

Réponse apportée
Hello, I have been trying to surf two parallel circles but data dimensions don't match and I don't know why. Any help would be nice. Thank you, Omar
Furthermore, surf is not the right command to do what you want. Try the following instead: fill3(X(1,:),Y(1,:),Z(1,:),'r') ...

plus de 9 ans il y a | 0

| A accepté

Réponse apportée
Hello, I have been trying to surf two parallel circles but data dimensions don't match and I don't know why. Any help would be nice. Thank you, Omar
Erase Z=[Z;Z]; This is not needed because X already have 2 rows and size(X)=[2 100]

plus de 9 ans il y a | 0

Réponse apportée
Solving Poisson type of equation, increasing tolerance requirement leads to no response
The solution does not converge. It does not converge even with the 10-5 tolerance. You should print the max variable at each ste...

plus de 9 ans il y a | 0

Réponse apportée
transform matrices into a single matrix?
Make a 3D matrix. If your 6x6 matrices are in the variables A1,A2,...,A20, then: A=zeros(6,6,20); A(:,:,1)=A1; A(:,:,...

plus de 9 ans il y a | 0

Réponse apportée
How do I store output from double for loops, I only get the last iteration?
flygplatsmetar = cell(1,length(Data)); %initialize your 1D cell array for l = 1:length(Data) ... flygplatsmetar...

plus de 9 ans il y a | 0

Réponse apportée
How to assign two values randomly among 2 variables?
r=rand; %random number between 0 and 1 if r<0.5 sensor1 = c1; sensor2 = c2; else sensor1 = c2; ...

plus de 9 ans il y a | 0

A résolu


radius of a spherical planet
you just measured its surface area, that is the input.

plus de 9 ans il y a

Problème


Maximum of ND-array
Find the maximum element of a N dimensional array. Example: A=[1 2 4 ; -20 4 10]; The maximum is 10.

plus de 9 ans il y a | 2 | 73 solveurs

Réponse apportée
How to colour some node in a graph
Take a look here <https://www.mathworks.com/help/matlab/ref/plot.html?searchHighlight=plot#inputarg_LineSpec> You can give als...

plus de 9 ans il y a | 0

Réponse apportée
How to remove a pattern in a table column
strfind function is what you need ( <https://www.mathworks.com/help/matlab/ref/strfind.html> ). I suppose that you have a cell a...

plus de 9 ans il y a | 0

A résolu


Convert a vector to a lower triangular matrix
I now have a row vector and I want to convert it to a lower trilangular matrix. The rows of the lower trilangular matrix have...

plus de 9 ans il y a

A résolu


Number of primes
Count the number of primes less than 'n'.

plus de 9 ans il y a

A résolu


Simple polynomial evaluation
Compute the value of a polynomial of degree n with all coefficients '1', at value x. n is always n>=0. p(x)=1+x+x^2+...+x^n...

plus de 9 ans il y a

Problème


Sum of digits of 2^n number
Given n, find the *cumulative* sum of the digits of the number 2^n (where n>=0). Example: Input n = 7 Output sum = 2 ...

plus de 9 ans il y a | 0 | 34 solveurs

A résolu


Bottles of beer
Given an input number representing the number of bottles of beer on the wall, output how many are left if you take one down and ...

plus de 9 ans il y a

A résolu


Nearest Numbers
Given a row vector of numbers, find the indices of the two nearest numbers. Examples: [index1 index2] = nearestNumbers([2 5 3...

plus de 9 ans il y a

A résolu


Which values occur exactly three times?
Return a list of all values (sorted smallest to largest) that appear exactly three times in the input vector x. So if x = [1 2...

plus de 9 ans il y a

A résolu


Circle area using pi
Given a circle's radius, compute the circle's area. Use the built-in mathematical constant pi.

plus de 9 ans il y a

A résolu


Reverse the vector
Reverse the vector elements. Example: Input x = [1,2,3,4,5,6,7,8,9] Output y = [9,8,7,6,5,4,3,2,1]

plus de 9 ans il y a

A résolu


Sum all integers from 1 to 2^n
Given the number x, y must be the summation of all integers from 1 to 2^x. For instance if x=2 then y must be 1+2+3+4=10.

plus de 9 ans il y a

Réponse apportée
Error calculation and using for loop
# You need to put your code inside a function, in order x and n to be parameters. # You can estimate the true value by just us...

plus de 9 ans il y a | 0

Réponse apportée
trying with bisection method to create a function that finds the root of an equation, approximated error, and numbers of iteration
A first problem in your code is that the returned variable "root" does not always take a value. A second one is the "i= i+1;". i...

plus de 9 ans il y a | 0

| A accepté

A résolu


Numbers with prime factors 2, 3 and 5.
Make a function which takes one positive integer n and returns a matrix with the numbers of the form (2^i)*(3^j)*(5^k) which are...

presque 14 ans il y a

Problème


Numbers with prime factors 2, 3 and 5.
Make a function which takes one positive integer n and returns a matrix with the numbers of the form (2^i)*(3^j)*(5^k) which are...

presque 14 ans il y a | 4 | 681 solveurs

A résolu


First N Perfect Squares
*Description* Return the first N perfect squares *Example* input = 4; output = [ 1 4 9 16 ];

presque 14 ans il y a

A résolu


Cannon Ball
Given g (acceleration due to gravity) and desired altitude x, find the minimum ground velocity of a cannon ball to reach x.

presque 14 ans il y a

A résolu


Tell me the slope
Tell me the slope, given a vector with horizontal run first and vertical rise next. Example input: x = [10 2];

presque 14 ans il y a

Charger plus