Community Profile

# ts

Active since 2022

All

#### Content Feed

View by

Error using rotate3d and context menu in App Designer. Event 'ContextMenuOpening' is not defined for class 'matlab.graphics.GraphicsPlaceholder'.
Based on communication with Mathworks support, this error is caused by a bug in the internal Matlab function "modeWindowButtonDo...

16 days ago | 0

| accepted

Solved

Doubling elements in a vector
Given the vector A, return B in which all numbers in A are doubling. So for: A = [ 1 5 8 ] then B = [ 1 1 5 ...

1 month ago

Solved

Create a vector
Create a vector from 0 to n by intervals of 2.

1 month ago

Solved

Flip the vector from right to left
Flip the vector from right to left. Examples x=[1:5], then y=[5 4 3 2 1] x=[1 4 6], then y=[6 4 1]; Request not ...

1 month ago

Solved

Whether the input is vector?
Given the input x, return 1 if x is vector or else 0.

1 month ago

Solved

Find max
Find the maximum value of a given vector or matrix.

1 month ago

Solved

Inner product of two vectors
Find the inner product of two vectors.

1 month ago

Solved

Arrange Vector in descending order
If x=[0,3,4,2,1] then y=[4,3,2,1,0]

1 month ago

Solved

Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

1 month ago

Solved

How many Christmas presents under the tree?
For many families at Christmas, each family member gives 1 present to every other family member. The main exception is that chil...

2 months ago

Question

Error using rotate3d and context menu in App Designer. Event 'ContextMenuOpening' is not defined for class 'matlab.graphics.GraphicsPlaceholder'.
I have an application converted from GUIDE to App Designer. It uses an external library that performs various calculations and d...

2 months ago | 1 answer | 3

### 1

Solved

determine skid distance of car
Determine the distance a car skids to a stop given initial velocity (v) and time (t).

1 year ago

Solved

Basic commands - Least common multiple
Make a function which will return least common multiple of "a" and "b" Example: a=8; b=6; y=24;

1 year ago

Solved

Basic commands - amount of inputs
Make a function, which will return amount of given inputs Example: amountinput(1,2,4,3,10) -> 5 , because we gave functio...

1 year ago

Solved

Get the length of a given vector
Given a vector x, the output y should equal the length of x.

1 year ago

Solved

BASICS - sum part of vector
Please make a function, where as input you get vector "x" and and vector "c", where in "c" vector you get indexes to sum. Examp...

1 year ago

Solved

cross in array
Make a cross from "1" in odd size array. Other value from array should be equal to "0"; As input you get length of side of arra...

1 year ago

Solved

angle in regular polygon
Make a function which returns measure of interior angle in x-side regular polygon. x is as input. Please pay attention, that 1 ...

1 year ago

Solved

Vector creation
Create a vector using square brackets going from 1 to the given value x in steps on 1. Hint: use increment.

1 year ago

Solved

What's size of TV?
Many people buy TV. Usually they ask about diagonal. But also important are width and height. Let's assume that all TV have rati...

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

1 year ago

Solved

Return area of square
Side of square=input=a Area=output=b

1 year ago

Solved

The Hitchhiker's Guide to MATLAB
Output logical "true" if the input is the answer to life, the universe and everything. Otherwise, output logical "false".

1 year ago

Solved

Convert from Fahrenheit to Celsius
Given an input vector |F| containing temperature values in Fahrenheit, return an output vector |C| that contains the values in C...

1 year ago

Solved

Calculate Amount of Cake Frosting
Given two input variables r and h, which stand for the radius and height of a cake, calculate the surface area of the cake you n...

1 year ago

Solved

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

1 year ago

Solved

Given a and b, return the sum a+b in c.

1 year ago

Solved

Is my wife right?
Regardless of input, output the string 'yes'.

1 year ago

Solved

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

1 year ago

Solved

Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

1 year ago