Réponse apportée
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...

presque 3 ans il y a | 0

| A accepté

Réponse apportée
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...

presque 3 ans il y a | 0

Réponse apportée
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...

presque 3 ans il y a | 0

A résolu


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

presque 3 ans il y a

A résolu


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

presque 3 ans il y a

A résolu


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

presque 3 ans il y a

A résolu


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

presque 3 ans il y a

Réponse apportée
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...

presque 3 ans il y a | 0

Réponse apportée
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...

presque 3 ans il y a | 0

| A accepté

Réponse apportée
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...

presque 3 ans il y a | 0

Réponse apportée
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...

presque 3 ans il y a | 0

Réponse apportée
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. ...

presque 3 ans il y a | 0

A résolu


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

presque 3 ans il y a

Réponse apportée
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...

presque 3 ans il y a | 0

Réponse apportée
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...

presque 3 ans il y a | 0

Réponse apportée
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...

presque 3 ans il y a | 0

A résolu


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

presque 3 ans il y a

A résolu


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

presque 3 ans il y a

A résolu


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

presque 3 ans il y a

A résolu


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

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

presque 3 ans il y a