Pregunta


Role of breakpoints in MATLAB
Hi All, I just want to know about the role of break points ( that red coloured dot which we put while clicking on the line n...

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

1

respuesta

Pregunta


Error with size( )
Hi All, I am stuck at a point in my code which shows error. The code snippet is as follows; [ n, m]= size(x1) so, when...

más de 5 años hace | 2 respuestas | 0

2

respuestas

Resuelto


Make a random, non-repeating vector.
This is a basic MATLAB operation. It is for instructional purposes. --- If you want to get a random permutation of integer...

más de 5 años hace

Resuelto


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]

más de 5 años hace

Pregunta


.append() equivalent in MATLAB
Hi all, I have a doubt regarding the function in MATLAB which will perform same function as performed by .append() in PYTHON....

más de 5 años hace | 2 respuestas | 1

2

respuestas

Resuelto


Find the sides of an isosceles triangle when given its area and height from its base to apex
Find the sides of an isosceles triangle when given its area and the height from its base to apex. For example, with A=12 and ...

más de 5 años hace

Resuelto


Can we make a triangle?
Given three positive number, check whether a triangle can be made with these sides length or not. remember that in a triangle su...

más de 5 años hace

Resuelto


Calculate the area of a triangle between three points
Calculate the area of a triangle between three points: P1(X1,Y1) P2(X2,Y2) P3(X3,Y3) these three points are the vert...

más de 5 años hace

Resuelto


Is this triangle right-angled?
Given any three positive numbers a, b, c, return true if the triangle with sides a, b and c is right-angled. Otherwise, return f...

más de 5 años hace

Resuelto


sum of first 'n' terms
Given n=10, find the sum of first 'n' terms Example: If n=10, then x=1,2,3,4,5,6,7,8,9,10. The sum of these n=10 terms is 55...

más de 5 años hace

Resuelto


Find Logic 8

más de 5 años hace

Resuelto


Find Logic 6

más de 5 años hace

Resuelto


Find Logic 4

más de 5 años hace

Pregunta


How to create a cuboid by connecting points through scatter3 plot?
Hi All, I am following the approach to draw the cuboid by plotting the coordinates of the vertices through scatter plot; scatt...

más de 5 años hace | 0 respuestas | 0

0

respuestas

Resuelto


Find Logic 18

más de 5 años hace

Resuelto


Find Logic 19

más de 5 años hace

Resuelto


Side of an equilateral triangle
If an equilateral triangle has area A, then what is the length of each of its sides, x? <<https://i.imgur.com/jlZDHhq.png>> ...

más de 5 años hace

Resuelto


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.

más de 5 años hace

Resuelto


Sum of series VI
What is the sum of the following sequence: Σk⋅k! for k=1...n for different n?

más de 5 años hace

Resuelto


Sum of series V
What is the sum of the following sequence: Σk(k+1) for k=1...n for different n?

más de 5 años hace

Resuelto


Sum of series III
What is the sum of the following sequence: Σ(2k-1)^3 for k=1...n for different n?

más de 5 años hace

Resuelto


Sum of series II
What is the sum of the following sequence: Σ(2k-1)^2 for k=1...n for different n?

más de 5 años hace

Resuelto


Sum of series I
What is the sum of the following sequence: Σ(2k-1) for k=1...n for different n?

más de 5 años hace

Resuelto


Replicate elements in vectors
Replicate each element of a row vector (with NaN) a constant number of times. Examples n=2, A=[1 2 3] -> [1 1 2 2 3 3] ...

más de 5 años hace

Resuelto


We love vectorized solutions. Problem 1 : remove the row average.
Given a 2-d matrix, remove the row average from each row. Your solution MUST be vectorized. The solution will be tested for ac...

más de 5 años hace

Resuelto


Length of the hypotenuse
Given short sides of lengths a and b, calculate the length c of the hypotenuse of the right-angled triangle. <<https://i.imgu...

más de 5 años hace

Resuelto


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

más de 5 años hace

Pregunta


Help with BMI Calculation
Hi All, Here's the code that I've written for BMI calculation , but my code is not being accepted in Cody. I checked that co...

más de 5 años hace | 0 respuestas | 0

0

respuestas

Pregunta


How to write a mathematical function in MATLAB?
Hi All, I want to write velocity vector in terms of its component in x, y and z direction , say V= V(t)_x i^+V(t)_y j^+V(t)_z ...

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

1

respuesta

Pregunta


Difference between the given syntax
Hi All, I've doubt in interpreting following lines . Can somebody clarify that ? cube.id(i)=lcount cube(1).id=lcount1 A...

más de 5 años hace | 2 respuestas | 0

2

respuestas

Cargar más