回答済み
can you help me use this command in my matlab r2022a?
power_Microgrid_IslandedOperation_DroopControl

5ヶ月 前 | 0

回答済み
How can i find the lost workspace data if i did not save as .mat file?
Sorry, the data is gone and cannot be recovered. You might be able to make use of the command history to re-do some of the prev...

5ヶ月 前 | 0

| 採用済み

回答済み
Uiwait does not work app designer
if app.VButton.Value == 1 | app.GButton.Value == 1 break end You are not testing the state of the pause button. You ...

5ヶ月 前 | 0

回答済み
Error when getting function to test testprime
The clear; clc makes your code into a script, and makes the declaration of testprime there into a local function for the scri...

5ヶ月 前 | 0

回答済み
Ones function printing out
The ones is the output of your function. You are running the function by pressing the green Run button, which executes the funct...

5ヶ月 前 | 1

回答済み
Hi I have a problem when I preform the convolution original image with kernel of ones as the size of the kernel increases the output is appearing totally white Image.
Image = imread('cameraman.tif'); Image ranges from uint8 0 to uint8 255 Image1 = double(Image); Image...

5ヶ月 前 | 0

回答済み
Why does this code give me an error?
[bestX, fmin] = fmincon(objectiveFunctionForLocal, gBest, [], [], [], [], lb, ub, @(x) nonlinear_constraint(x), options, initial...

5ヶ月 前 | 0

回答済み
Matlab figure: The legend replaces the graph completely and there is no graph
C:\Users\Elino\OneDrive\Documents\MATLAB\ENCI711\Copy_of_Publish Version\set.m You need to rename that file, or move it so that...

5ヶ月 前 | 1

| 採用済み

回答済み
Matlab mobile doesn't execute startup.m at startup
The model of MATLAB Online is as-if it were continually running. ... Sort of. The reality is that when you leave a MATLAB Onli...

5ヶ月 前 | 0

回答済み
Getting an indexing error when using functions
uexact = uexact + uelem(x1,x2,k,L); Okay, you are invoking uelem() on a scalar x1 out = integral(@(x) ff(x,x1,x2,k...

5ヶ月 前 | 1

| 採用済み

回答済み
Error using imread>get_full_filename (line 566) File "gg(21).jpg" does not exist. Error in imread (line 375) fullname = get_full_filename(filename);
imds = imageDatastore('C:\Users\new\Testing',... 'IncludeSubfolders',true,... 'LabelSource','foldernames'); The d...

5ヶ月 前 | 0

| 採用済み

回答済み
Looping through a cell array to differentiate and integrate
There are two major functions diff() When at least one of the parameters to diff() is a symbolic expression, or a symbolic func...

5ヶ月 前 | 0

| 採用済み

回答済み
How to partition a matrix by sorting a column?
A= [ 73.90 123.17 1.00; 73.79 121.83 0.00; 70.64 74.46 1.00; 69.74 86.40 0.00] u = unique(A(:,3)); ...

5ヶ月 前 | 0

| 採用済み

回答済み
I can't comput the following commands
Remove all of the if statements. And convert the && to & A1=sum(total>=90 & total<=100); fprintf('The number of A+ stu...

5ヶ月 前 | 0

回答済み
How to perform an operation after reading the image?
readimageFcn=@(x) imagenorm(int16(dicomread(x))); There is some uncertainty here, as imagenorm() is not a defined Mathworks fun...

5ヶ月 前 | 0

| 採用済み

回答済み
Will there be a Linux ARM binary?
There is no Linux ARM binary. My personal guess is that Mathworks will go for Windows ARM before going for Linux ARM.

5ヶ月 前 | 0

回答済み
Append tables with a new variable
T1 = table([1:5].') T2 = table([6:8].', [3;1;4]) vn1 = T1.Properties.VariableNames; vn2 = T2.Properties.VariableNames; new_v...

5ヶ月 前 | 0

| 採用済み

回答済み
Which version suits AGX Orin?
You cannot install MATLAB on AGX Orin.

5ヶ月 前 | 0

回答済み
How to calculate and display electricity used in a month using fprintf?
KWH = input('How many KWH this month: '); BILL = 0.066 * KWH; fprintf('Your charge for %f KWH will be $%.2f\n', KWH, BILL)

5ヶ月 前 | 1

回答済み
How to compute the following questions
You can use nnz(BooleanArray) or sum(BooleanArray) to get the number of selected results.

5ヶ月 前 | 0

回答済み
"Undefined variable" error even though variable is defined
if frame1 == 1 Background1 = thisFrame1; else This does not define Background1 if frame1 ~= 1

5ヶ月 前 | 0

回答済み
I drew this curve, using the code below. How can I remain only on the line with circles above it?
Refinement of your code: syms a omega % Given parameters omega_n =1; mu = 0.1; ...

5ヶ月 前 | 0

| 採用済み

回答済み
How do I prevent the command that caused an error being displayed in the command line?
./my_executable xyz: Signal 127 That indicates that ./my_executable could not be found. You are not in the directory you though...

5ヶ月 前 | 0

回答済み
How to create this table/matrix?
ForecastInfo = table(CIV.SYMBOL(1:10,:), ForecastDates', 'VariableNames', {'Symbol', 'Forcecast Dates'});

5ヶ月 前 | 0

| 採用済み

回答済み
str2sym error
Work around: symfun('force(t)', sym('t')) or syms force(t)

5ヶ月 前 | 0

回答済み
writetable or dlmwrite to save an array as a txt file
M = [ 1.0000 -26.2000 -31.7000 2.0000 -27.1000 -33.9000 3.0000 -25.5000 -30.2000 4.0000 -24.4000 -30...

5ヶ月 前 | 0

回答済み
I keep getting the error message that the variables must be of data type double and it is currently of type sym.
%I'm unsure how else to run this code to solve the 10 eqn system where %the answer comes out in the correct form, please help ...

5ヶ月 前 | 1

| 採用済み

回答済み
Hi, this is my code, I want to fit 36 graphs in one graph (36 rays in layout view)
N = 2048; L = 1e4; dx = 4e-3; [x0,y0] = meshgrid((-N/2:N/2-1)*dx); [xL,yL] = meshgrid((-N/2:N/2-1)*dx); [fx,fy] = meshgrid(...

5ヶ月 前 | 1

| 採用済み

回答済み
Genetic algorithm gives same result everytime
You have a single variable that is integer constrained between 10 and 100. That is only 91 different values to search, at most -...

5ヶ月 前 | 0

| 採用済み

回答済み
How can I displace x and/or y axes from existing positions?
There is no provided way to do this. You will have to turn axes off, and draw the axes yourself.

5ヶ月 前 | 0

さらに読み込む