Answered

How to store all feature extracted data of images into single excel sheet

Hi Sukesh, 1. Using xlswrite in each for loop slows down the process, because each time you open and close excel sheet. Inste...

How to store all feature extracted data of images into single excel sheet

Hi Sukesh, 1. Using xlswrite in each for loop slows down the process, because each time you open and close excel sheet. Inste...

4 years ago | 1

Answered

how to import data from a text file to MATLAB

readData=textread('YourFile.txt','%s') This will remove the gap inbetween and give you all the data as strings. Once you get...

how to import data from a text file to MATLAB

readData=textread('YourFile.txt','%s') This will remove the gap inbetween and give you all the data as strings. Once you get...

4 years ago | 0

| accepted

Answered

Excel Range in specifies Sheet.

Hi, Just activating the particular sheet before adding range will solve it. ex = actxserver('excel.application'); ex.Work...

Excel Range in specifies Sheet.

Hi, Just activating the particular sheet before adding range will solve it. ex = actxserver('excel.application'); ex.Work...

4 years ago | 0

| accepted

Answered

How to remove one value from cell array, when looking for maximums in graph

Just before assigning it to the cell check the length of the cell if its 1 then continue with assignment else just assign the fi...

How to remove one value from cell array, when looking for maximums in graph

Just before assigning it to the cell check the length of the cell if its 1 then continue with assignment else just assign the fi...

4 years ago | 0

Answered

Stateflow chart Output Error

Kindly check by giving inputs using a signal builder because I tried the same sample as shown and it was working fine. And tes...

Stateflow chart Output Error

Kindly check by giving inputs using a signal builder because I tried the same sample as shown and it was working fine. And tes...

4 years ago | 0

Solved

Sum two real numbers

It seems easy, but... You cannot use +, -, plus, diff, cumsum, *, prod, times, etc.

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

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

4 years ago

Solved

How to find the position of an element in a vector without using the find function

Write a function posX=findPosition(x,y) where x is a vector and y is the number that you are searching for. Examples: fin...

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

4 years ago

Answered

Finding Object Parameters for controlling Simulink object through "set_param()"

Hi Jeevan, I tried get_param(gcb, 'DialogParameters') and get_param(gcb, 'ObjectParameters') Both of them show a paramete...

Finding Object Parameters for controlling Simulink object through "set_param()"

Hi Jeevan, I tried get_param(gcb, 'DialogParameters') and get_param(gcb, 'ObjectParameters') Both of them show a paramete...

4 years ago | 0

Answered

How do I open the Code Generation Report after it's been closed?

If your model is xyz.mdl In the html folder there is a file called xyx_codegen_rpt.html. You can open this file. The second ...

How do I open the Code Generation Report after it's been closed?

If your model is xyz.mdl In the html folder there is a file called xyx_codegen_rpt.html. You can open this file. The second ...

4 years ago | 4

| accepted

Answered

Using c-code s-function for dspace TLC

Basically this error comes when the the s function name is xyz and you try to build the model. But matlab cannot find xyz.c in t...

Using c-code s-function for dspace TLC

Basically this error comes when the the s function name is xyz and you try to build the model. But matlab cannot find xyz.c in t...

4 years ago | 0