답변 있음
How to delete rows from an array?
Set the rows you want to delete to null. Example: x(550:end,:)=[];

5년 초과 전 | 0

| 수락됨

답변 있음
How breaking a closed loop without neither Delay or Memory block?
So from the screenshot of the model, it looks like you're using rapid accelerator which does not support algebraic loops. You ca...

5년 초과 전 | 0

| 수락됨

답변 있음
park transformation for single phase
Can you please attach the model (*.slx) and other files required to run it? Also, which version of Matlab are you using?

5년 초과 전 | 0

답변 있음
park transformation for single phase
To transform single phase voltages/currents to shift your voltage/current by 90 degrees and use this value as and your origina...

거의 6년 전 | 0

| 수락됨

답변 있음
Can simscape battery model (i.e. the equivalent circuit model) be integrated to simulink model?
Yes, they can be be connected. Please see this. That being said, it best to stick to either Simscape or SimPowerSystems.

거의 6년 전 | 0

| 수락됨

답변 있음
How to give opening and closing logic to mosfet?
I don't have MATLAB 2018a therefore, I'm unable to open the model you've attached. Typically a pulse generator is be used to tur...

거의 6년 전 | 0

| 수락됨

답변 있음
How to write multiple input into one csv file
Try using the dlmwrite command with '-append'. Syntax is as follows: dlmwrite(filename,M,'-append') The other option is to sto...

거의 6년 전 | 0

답변 있음
Matlab is not recognizing sections %%
Did you turn-off the sections in the Autoformatting menu?

거의 6년 전 | 0

답변 있음
Data is missing in scope and in output tables when simulating a wind farm
Nils, You'll have to check the Logging in the scope properties. Ensure that you're not limiting the data points. To save to wo...

거의 6년 전 | 1

| 수락됨

답변 있음
How can apply scatter or plot functions with two xx and yy axis?
Riyadh, Have you tried using the yyaxis command instead of the line?

거의 6년 전 | 0

| 수락됨

답변 있음
How can I change the language into English
Please see this MATLAB Answers post: https://www.mathworks.com/matlabcentral/answers/196985-how-do-i-change-the-display-language...

거의 6년 전 | 0

답변 있음
Get names of the current Simulink Block and then store all the inputs and outptus of the block into a structure ?
Sachin, You can figure out the number of ports of the current block by using the get_param() command. blockPorts = get_param(g...

거의 6년 전 | 0

| 수락됨

답변 있음
How can I request installation media?
Are you on a standard license/student/home license? If you have a standard license,and the admin for the license you should be a...

거의 6년 전 | 0

| 수락됨

답변 있음
how to color individual lines in a plot
Josh, You can specify plot color by using the 'color' property and specifying a color or a normalized RGB code when using the p...

거의 6년 전 | 0

문제를 풀었습니다


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

거의 6년 전

문제를 풀었습니다


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

거의 6년 전

문제를 풀었습니다


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

거의 6년 전

문제를 풀었습니다


Add two numbers
Given a and b, return the sum a+b in c.

거의 6년 전

답변 있음
Indexing and replacing value in a zero matrix based on a table
Is this what you're looking for? ID = 10; Number = 5; Ans = -1; tmat = zeros(11,10); tmat(ID,Number)=Ans;

거의 6년 전 | 0

답변 있음
In which ways can Simscape block parameters be defined?
The block parameters could be initialized in the mask's block or in the model callbacks. To view the block's mask, select the ...

거의 6년 전 | 0

답변 있음
How to model a three phase delta -wye (star) Transformer using Simulink / Simscape R2018a?
Is there reason you want to model it? You could use the Three-Phase Transformer block from the Power Systems library and choose ...

거의 6년 전 | 0

| 수락됨

답변 있음
axis function in Appdesigner
The x & y axis limits can be set using the XLim & YLim properties ax=app.UIAxes; ax.XLim = [0 length(tt)]; ax.YLim = [0 1]; ...

거의 6년 전 | 1

| 수락됨

답변 있음
How can I use matlab GUI to brows specific .html file in the same folder?
You can open html files with the built-in web browser by using the web command. https://www.mathworks.com/help/matlab/ref/web.h...

거의 6년 전 | 0

| 수락됨

답변 있음
how to save the result of each iteration of 'for' loop in a text file without replacing the previous results in the text file????
Please see my code below. I open file before my for loop and close it after the end of the for loop. fid = fopen('Test.txt','w...

거의 6년 전 | 0

답변 있음
How to import an equation that is user defined in GUI into separate m files?
Is your m-file a function? If yes, you can pass the variable containing your equation as input argument. You could also send the...

거의 6년 전 | 0

답변 있음
How to tune the PID controller for Simscape Vehicle model ?
Have you tried the PID tuner app? You will to replace your controller with the MATLAB PID Controller to use the app. You could f...

거의 6년 전 | 0

문제를 풀었습니다


Pangrams!
A pangram, or holoalphabetic sentence, is a sentence using every letter of the alphabet at least once. Example: Input s ...

거의 6년 전

문제를 풀었습니다


Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

거의 6년 전

문제를 풀었습니다


Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

거의 6년 전

더 보기