A résolu


Side of a rhombus
If a rhombus has diagonals of length x and x+1, then what is the length of its side, y? <<http://upload.wikimedia.org/wikipe...

plus de 7 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? <<http://upload.wikimedia.org/wikipe...

plus de 7 ans il y a

A résolu


Area of an equilateral triangle
Calculate the area of an equilateral triangle of side x. <<http://upload.wikimedia.org/wikipedia/commons/e/e0/Equilateral-tr...

plus de 7 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. <<http://upload....

plus de 7 ans il y a

A résolu


Length of a short side
Calculate the length of the short side, a, of a right-angled triangle with hypotenuse of length c, and other short side of lengt...

plus de 7 ans il y a

A résolu


Triangle sequence
A sequence of triangles is constructed in the following way: 1) the first triangle is Pythagoras' 3-4-5 triangle 2) the s...

plus de 7 ans il y a

Réponse apportée
Scatter3 with weights
You could pass color values as follows n = 1000; X = rand(n, 1); Y = rand(n, 1); Z = rand(n, 1); C = hypot(X, Y); siz...

plus de 7 ans il y a | 0

| A accepté

Réponse apportée
How to read data from a matrix according to the lower and upper index range
Define a grid to perform logical indexing on: n = 24; m = 5; gridx = repmat(1:n, m, 1); b=[2 4;5 7;8 9;1 10;12 1...

plus de 7 ans il y a | 0

| A accepté

Réponse apportée
HI friends.I have a question:what is the difference between imshow & imagesc in this code and why the time reduce??
This was answered here: <https://mathworks.com/matlabcentral/answers/72130-what-s-the-difference-between-imagesc-and-imshow> . ...

plus de 7 ans il y a | 0

A résolu


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

plus de 7 ans il y a

A résolu


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

plus de 7 ans il y a

A résolu


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

plus de 7 ans il y a

Réponse apportée
how to find a differentiation or derivative of each array(>1000*2) in cell consists 7000*1?
Should work just fine: u = cell(5, 1); u(:) = {rand(20, 2)}; du1 = diff(u{1}) gives me a 19x2 double.

plus de 7 ans il y a | 0

Réponse apportée
Count lines in an Image
I adapted some code from the example OverlayRegionBoundariesOnImageExample.mlx to do what you probably want % Overlay Regio...

plus de 7 ans il y a | 0

| A accepté

Réponse apportée
Count lines in an Image
Is it just me or did you not attach any image?

plus de 7 ans il y a | 0

Réponse apportée
How can I plot a triangle with its altitudes?
Please clarify what you are trying to do. What would you like to see as output?

plus de 7 ans il y a | 0

Réponse apportée
Selecting different element of a matrix with each function operation
Hi JD, You could pass a counter variable i to your function as such: i = 1; while condition i = i+1; end f...

plus de 7 ans il y a | 0

| A accepté

Question


How do I load a module which could not be found?
When I open my SimScape Multibody model on the R2018a prerelease I get this warning: Warning: Can't load 'C:\Program Fi...

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

1

réponse