Question


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

5 years ago | 1 answer | 0

1

answer

Question


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

5 years ago | 2 answers | 0

2

answers

Solved


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

5 years ago

Solved


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]

5 years ago

Question


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

5 years ago | 2 answers | 1

2

answers

Solved


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

5 years ago

Solved


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

5 years ago

Solved


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

5 years ago

Solved


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

5 years ago

Solved


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

5 years ago

Solved


Find Logic 8

5 years ago

Solved


Find Logic 6

5 years ago

Solved


Find Logic 4

5 years ago

Question


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

5 years ago | 0 answers | 0

0

answers

Solved


Find Logic 18

5 years ago

Solved


Find Logic 19

5 years ago

Solved


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

5 years ago

Solved


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.

5 years ago

Solved


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

5 years ago

Solved


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

5 years ago

Solved


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

5 years ago

Solved


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

5 years ago

Solved


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

5 years ago

Solved


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

5 years ago

Solved


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

5 years ago

Solved


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

5 years ago

Solved


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

5 years ago

Question


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

5 years ago | 0 answers | 0

0

answers

Question


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

5 years ago | 1 answer | 0

1

answer

Question


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

5 years ago | 2 answers | 0

2

answers

Load more