Answered
Turning ssc file with written code into a simscape block
Hi Arushi, To my understanding you are looking to use the custom component made in ssc file in your simscape model. You need t...

2 years ago | 0

| accepted

Answered
How can i pass a matlab struct variable into a C MEX S function as an input argument?
Hi, To my understanding you need to pass MATLAB struct to MEX function. You can do it by calling the C function with a MATLA...

2 years ago | 0

Answered
How to calculate the Euler angles between X, Y and Z axes (in Deg) between two 3D points
Hi Rizwana, To my understanding, you have two points and want to calculate the Euler angles between them. You need to do is fi...

2 years ago | 0

Solved


Get all prime factors
List the prime factors for the input number, in decreasing order. List each factor. If the prime factor occurs twice, list it as...

2 years ago

Solved


given 3 sides, find area of this triangle
1:3 -> 0; 3:5 -> 6

2 years ago

Solved


Replace pattern 0 1 0 and 1 0 1
Find and replace a pattern in a row of zeroes and ones. * Find 1 0 1 and replace it with 1 1 1 * Find 0 1 0 and replace it w...

2 years ago

Solved


Which values occur exactly three times?
Return a list of all values (sorted smallest to largest) that appear exactly three times in the input vector x. So if x = [1 2...

2 years ago

Answered
How to make a loop through *.asc data
Hi Ante, To my understanding you want to read a .asc file and iterate through the data. As the asc files contains character st...

2 years ago | 0

Answered
How to open 2D planar image .bim format
Hi, To my understanding, you want to open a .bim format file in MATLAB. This comment answers how to open the .bim format file...

2 years ago | 0

| accepted

Answered
How to extract the reflectance from a remote sensing image?
Hi, To my understanding you want to know why the error is coming and how to fix, I have taken the following code sample, file...

2 years ago | 0

Answered
How do I get a character array to return a sentence stored in a single row character vector?
Hi Serena, You need to iterate over the words and then concatnate to the character array. function sentence = sentenceMaker(w...

2 years ago | 0

Answered
Using a "CUDAKernel" type object within a parfor loop
Hello Joseph, As per my understanding, you are facing an issue in using CUDAKernel in parfor loop, so you tried a workaround. ...

2 years ago | 0

Solved


Area of a disk
Find the area of a disk or circle. x= radius of the disk.

2 years ago

Answered
Method to design real-time controller for cTrader c# application integration
Hello, To my understanding you are trying to develop an application and wants to get some resources to get started. Communicat...

2 years ago | 0

Answered
uitreenode size\position change
Hello AKI, As per my understanding you want to change the position of ‘uitreenode’. Uitrees are created with a default positio...

2 years ago | 0

Answered
Warning: Table data is not editable at this location. uitable turn from array type into to single element (1x1)
Hello Enkuneh, As per my understanding you want to access the data from the table, but in doing so you are currently getting e...

2 years ago | 0

Solved


Reverse a matrix
Its simple. You have to reverse a given matrix.

2 years ago

Solved


All capital?
Are all the letters in the input string capital letters? Examples: 'MNOP' -> 1 'MN0P' -> 0

2 years ago

Solved


Determine the number of odd integers in a vector
Determine the number of unique odd integers in a vector. Examples: Input x = [2 5 8 3 7 1]; Output y = 4; Inp...

2 years ago

Solved


Find the max element of the array
Find the max element of the array

2 years ago

Solved


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

2 years ago