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

oltre 2 anni fa | 0

| accettato

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

oltre 2 anni fa | 0

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

oltre 2 anni fa | 0

Risolto


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

oltre 2 anni fa

Risolto


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

oltre 2 anni fa

Risolto


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

oltre 2 anni fa

Risolto


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

oltre 2 anni fa

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

oltre 2 anni fa | 0

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

oltre 2 anni fa | 0

| accettato

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

oltre 2 anni fa | 0

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

oltre 2 anni fa | 0

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

oltre 2 anni fa | 0

Risolto


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

oltre 2 anni fa

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

oltre 2 anni fa | 0

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

oltre 2 anni fa | 0

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

oltre 2 anni fa | 0

Risolto


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

oltre 2 anni fa

Risolto


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

oltre 2 anni fa

Risolto


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

oltre 2 anni fa

Risolto


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

oltre 2 anni fa

Risolto


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

oltre 2 anni fa