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

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

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

casi 6 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]

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

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

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

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

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

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

casi 6 años hace

Resuelto


Find Logic 8

casi 6 años hace

Resuelto


Find Logic 6

casi 6 años hace

Resuelto


Find Logic 4

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

casi 6 años hace | 0 respuestas | 0

0

respuestas

Resuelto


Find Logic 18

casi 6 años hace

Resuelto


Find Logic 19

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

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

casi 6 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?

casi 6 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?

casi 6 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?

casi 6 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?

casi 6 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?

casi 6 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] ...

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

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

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

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

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

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

casi 6 años hace | 2 respuestas | 0

2

respuestas

Cargar más