![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/6812248_1524149569854_DEF.jpg)
C++, C, MATLAB
Statistics
RANK
3 948
of 292 730
REPUTATION
12
CONTRIBUTIONS
0 Questions
7 Answers
ANSWER ACCEPTANCE
0.00%
VOTES RECEIVED
2
RANK
18 110 of 19 936
REPUTATION
1
AVERAGE RATING
0.00
CONTRIBUTIONS
1 File
DOWNLOADS
3
ALL TIME DOWNLOADS
15
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Feeds
Solved
Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...
ungefär 2 år ago
Solved
Plot Damped Sinusoid
Given two vectors |t| and |y|, make a plot containing a blue ( |b| ) dashed ( |--| ) line of |y| versus |t|. Mark the minimum...
ungefär 2 år ago
Solved
Calculate a Damped Sinusoid
The equation of a damped sinusoid can be written as |y = A.ⅇ^(-λt)*cos(2πft)| where |A|, |λ|, and |f| ...
ungefär 2 år ago
Solved
Solve a System of Linear Equations
Example: If a system of linear equations in x₁ and x₂ is: 2x₁ + x₂ = 2 x₁ - 4 x₂ = 3 Then the coefficient matrix (A) is: 2 ...
ungefär 2 år ago
Solved
Verify Law of Large Numbers
If a large number of fair N-sided dice are rolled, the average of the simulated rolls is likely to be close to the mean of 1,2,....
ungefär 2 år ago
Solved
Find the Oldest Person in a Room
Given two input vectors: * |name| - user last names * |age| - corresponding age of the person Return the name of the ol...
ungefär 2 år ago
Solved
Convert from Fahrenheit to Celsius
Given an input vector |F| containing temperature values in Fahrenheit, return an output vector |C| that contains the values in C...
ungefär 2 år ago
Solved
Calculate Amount of Cake Frosting
Given two input variables |r| and |h|, which stand for the radius and height of a cake, calculate the surface area of the cake y...
ungefär 2 år 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:...
ungefär 2 år ago
Submitted
Adapative-Controller-under-the-single-Neural-Mass-Model
Nonlinear Control; NMM; Adaptive control;Code genration; Simulink; Stateflow.
mer än 2 år ago | 3 downloads |
![Thumbnail](/matlabcentral/mlc-downloads/downloads/4854f88c-407c-432a-9331-39c2dc5f087b/12a8cf23-0fca-4c1d-89b6-6a6d30b7e843/images/1649994708.png)
how to save workspace variables with the same name they have in work space
Hello! There is a simple demo. %% %test data clear; PSD_a = 1; PSD_b = 2; PSD_c =2; a = 1; %% str_set = []; Save_nam...
mer än 2 år ago | 1
How to plot variables with different array sizes?
You may : plot(t1,Y1,t2,Y2,t3,Y3) Otherwise, plot(t1,Y1) hold on plot(t2,Y2) plot(t3,Y3)
mer än 2 år ago | 1
如何在生成的代码中加入C函数调用
你好!你可以开配置中添加API,具体是model setting (Ctrl+E)->Simulation Target, 填写.c和.h。 代码生成也许要嵌进去,model setting (Ctrl+E)->Code Genaration->Cust...
mer än 2 år ago | 0
How to Revolve a 2D Profile and Make it's 3D Plot
This is a example: x = [82,80,65,38,82]; y = [82,54,36,94,82]; x_zero = 35; theta = linspace(0,2*pi,100); X = []; Y ...
mer än 2 år ago | 0
| accepted
How to compile a GUI who call a script who call a Simulink model
the command mcc maybe help you, but the simulink file is not uncertain factors MCC:https://ww2.mathworks.cn/support/search.html...
mer än 2 år ago | 0
1D Spline from 2D Skalar Field
You may get information of the curve by handles. Firstly, you get the handle of the figure by gcf, the figure have three childr...
mer än 2 år ago | 0