Frage


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

mehr als 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 5 Jahre vor | 2 Antworten | 0

2

Antworten

Gelöst


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

mehr als 5 Jahre vor

Gelöst


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]

mehr als 5 Jahre vor

Frage


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

mehr als 5 Jahre vor | 2 Antworten | 1

2

Antworten

Gelöst


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

mehr als 5 Jahre vor

Gelöst


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

mehr als 5 Jahre vor

Gelöst


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

mehr als 5 Jahre vor

Gelöst


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

mehr als 5 Jahre vor

Gelöst


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

mehr als 5 Jahre vor

Gelöst


Find Logic 8

mehr als 5 Jahre vor

Gelöst


Find Logic 6

mehr als 5 Jahre vor

Gelöst


Find Logic 4

mehr als 5 Jahre vor

Frage


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

mehr als 5 Jahre vor | 0 Antworten | 0

0

Antworten

Gelöst


Find Logic 18

mehr als 5 Jahre vor

Gelöst


Find Logic 19

mehr als 5 Jahre vor

Gelöst


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

mehr als 5 Jahre vor

Gelöst


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.

mehr als 5 Jahre vor

Gelöst


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

mehr als 5 Jahre vor

Gelöst


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

mehr als 5 Jahre vor

Gelöst


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

mehr als 5 Jahre vor

Gelöst


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

mehr als 5 Jahre vor

Gelöst


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

mehr als 5 Jahre vor

Gelöst


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

mehr als 5 Jahre vor

Gelöst


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

mehr als 5 Jahre vor

Gelöst


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

mehr als 5 Jahre vor

Gelöst


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

mehr als 5 Jahre vor

Frage


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

mehr als 5 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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

mehr als 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 5 Jahre vor | 2 Antworten | 0

2

Antworten

Mehr laden