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

plus de 5 ans il y a | 1 réponse | 0

1

réponse

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

plus de 5 ans il y a | 2 réponses | 0

2

réponses

A résolu


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

plus de 5 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 5 ans il y a

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

plus de 5 ans il y a | 2 réponses | 1

2

réponses

A résolu


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

plus de 5 ans il y a

A résolu


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

plus de 5 ans il y a

A résolu


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

plus de 5 ans il y a

A résolu


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

plus de 5 ans il y a

A résolu


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

plus de 5 ans il y a

A résolu


Find Logic 8

plus de 5 ans il y a

A résolu


Find Logic 6

plus de 5 ans il y a

A résolu


Find Logic 4

plus de 5 ans il y a

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

plus de 5 ans il y a | 1 réponse | 0

0

réponse

A résolu


Find Logic 18

plus de 5 ans il y a

A résolu


Find Logic 19

plus de 5 ans il y a

A résolu


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

plus de 5 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 5 ans il y a

A résolu


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

plus de 5 ans il y a

A résolu


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

plus de 5 ans il y a

A résolu


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

plus de 5 ans il y a

A résolu


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

plus de 5 ans il y a

A résolu


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

plus de 5 ans il y a

A résolu


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

plus de 5 ans il y a

A résolu


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

plus de 5 ans il y a

A résolu


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

plus de 5 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...

plus de 5 ans il y a

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

plus de 5 ans il y a | 1 réponse | 0

0

réponse

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

plus de 5 ans il y a | 1 réponse | 0

1

réponse

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

plus de 5 ans il y a | 2 réponses | 0

2

réponses

Charger plus