Feeds
已解决
Swap the first and last columns
Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...
9 years 前
已解决
Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...
9 years 前
已解决
Column Removal
Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; and ...
9 years 前
已解决
Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...
9 years 前
已解决
Determine if input is odd
Given the input n, return true if n is odd or false if n is even.
9 years 前
已解决
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 ...
9 years 前
已解决
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...
9 years 前
已解决
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:...
9 years 前
提问
Inclusion of custom ENUM file during code generation throwing error
Hi, I am trying to include following header file containing ENUM definition during my Auto-code generation typedef enum { ...
10 years 前 | 1 个回答 | 0
1
个回答提问
How to get rid of this error?
While compiling the following function prototype of my header file I am getting an error as "extraneous old-style parameter list...
11 years 前 | 0 个回答 | 0
0
个回答已回答
Division in stateflow is showing only integer part
But still the question remains that why stateflow is doing floor(a/b) and giving 2 instead of 2.5. Is typecasting only solution ...
Division in stateflow is showing only integer part
But still the question remains that why stateflow is doing floor(a/b) and giving 2 instead of 2.5. Is typecasting only solution ...
11 years 前 | 0
提问
Division in stateflow is showing only integer part
I am trying to do a simple division operation in stateflow like a=5/2 but the output is coming to 2 instead of 2.5 The data type...
11 years 前 | 3 个回答 | 0
3
个回答提问
Storage Class issues while code generation
I have two subsystem which have the same buisness logic and hence I have made them re-usable with one function name in RTW tab. ...
12 years 前 | 0 个回答 | 0
0
个回答提问
S function debugging with Visual Studio 2005
Hi, I have developed a S function of my auto-code. When I am simulating my S function the Matlab is getting crashed. So i wan...
12 years 前 | 1 个回答 | 0
1
个回答提问
Getting the simulation time
Hi, I am using a manual switch in my model. During simulation if i click the switch manually and switch the input i call a sc...
12 years 前 | 1 个回答 | 0
1
个回答提问
Scaling the y axis in the matlab plots
Hi, I am plotting certain amount of data in matlab. I want to scale my y axis in the plot. For e.g: The minimum value i want...
12 years 前 | 1 个回答 | 0
1
个回答提问
Accessing S function parameters through m scripts
Hi, I have a S function builder block in which there are number of inports and outports.I want to acces the list of these i/o...
12 years 前 | 1 个回答 | 0
1
个回答提问
How to detect any unsupported character other than number
I have series of data in my excel file. But there are some unsupported characters present in the file like 10, 0h0,0.>68,1L1 e...
13 years 前 | 1 个回答 | 0
1
个回答提问
Appending data into mat file without loading
I have a variable named A in existing mat file. No I want to add some columns of data into A.But i dont want to load that mat fi...
13 years 前 | 1 个回答 | 0
1
个回答提问
Extracting huge data from csv file
I am working on huge csv file of around 100-200 Mb's. I am trying to extract the data using COM server and activex application. ...
13 years 前 | 2 个回答 | 0
2
个回答提问
Scanning a CSV file
I want to read a CSV(Comma Separated Values) file in a text format and bring the entire data from CSV into Matlab environment
13 years 前 | 1 个回答 | 0
1
个回答提问
How to install VSFLEX.vsFlexArrayCtrl.1 activex control in my Matlab R2011a
My matlab R2011a doesnt seem to have VSFLEX.vsFlexArrayCtrl.1 activex which i want for creating tables. Please suggest me as ...
13 years 前 | 0 个回答 | 0
0
个回答提问
I am getting this warning after applying my string to a text box.'Single line Edit Controls can not have multi-line text'
This is the part of my code after which its throwing me the warning _ set(cal_glbl_data.out_msg_solver,'String',char({'Compu...
13 years 前 | 2 个回答 | 0