Respondida
I keep getting this error "File identifier must be an integer-valued scalar of type double." when using fopen
Err in the code: filename = 'Example2.txt'; % Corrected ONE. No input() that creates the error

casi 5 años hace | 1

| aceptada

Respondida
Modeling, control, and simulation of dual rotor wind turbine.
Have you seen this thread on Turbine model: https://www.mathworks.com/matlabcentral/answers/517712-wind-turbine-model-in-simulin...

casi 5 años hace | 0

Respondida
how to connect interpolation and probability
Some of your data, used in your code, are not provided here. Moreover, it is not quite clear "connect"? What you are trying to d...

casi 5 años hace | 0

Respondida
What formula should I use in linear mixed effects model fitting?
In this case, you should choose the formulation that would give a most accurate prediction. Either you go with your common under...

casi 5 años hace | 0

Respondida
Classify Hyperspectral Images Using Deep Learning
Did you try to call this fcn: openExample('deeplearning_shared/HyperspectralImageClassificationUsingDeepLearningExample') Have...

casi 5 años hace | 0

Respondida
How can I plot an histogram?
there is an err in your code. Here is the corrected one: number_of_events=[30.60, 32.30, 32.30, 32.30, 32.30, 2.60, 12.60, 32.3...

casi 5 años hace | 0

Respondida
Why does my matrix give me a syntax error
Note that [A] is not to be defined within Fnorm that should be called correctly. It works without any err, if you call your fcn ...

casi 5 años hace | 0

Respondida
Change spacing between title lines
In your exercise, one of the viable solutions is to create one necessarily formatted blank line between the two lines. Here is o...

casi 5 años hace | 1

Respondida
Help to plot the LED Characteristic Curve
The answer in signal-to-noise ratio value, e.g: SNRdB = 20; % Gives a nice looking one!

casi 5 años hace | 0

Respondida
Draw a tangent line with a given slope in Log scale
To compute the tangent line of this curve, I would do the followings: (1) Get the numerical data of the curve (shown in your pl...

casi 5 años hace | 0

Respondida
To assign to or create a variable in a table, the number of rows must match the height of the table.
There are some size issues overlooked while assigning the table array. Here are the corrected parts of your code: ... time=(4...

casi 5 años hace | 0

Respondida
How do I solve this error?
There are a few errs in your tiny code. Here is the corrected one: load V.mat B=3.1e98; R=8.313; Ea=6.28e5 ; % Check your f...

casi 5 años hace | 1

Respondida
help with Integral function
There are a couple of errs in your code. Here is the corrected code: % Please enter your name inside the single quotes in the n...

casi 5 años hace | 0

| aceptada

Respondida
How do I find the first 30 percent of each period of cosine?
In this case, if you are working and need to work with your plot, then you should work with ginput to locate where your full per...

casi 5 años hace | 0

Respondida
i want to plot readed audio files
Maybe you had better employ just one plot() and hold it to plot all imported data from audio files, e.g.: plot(y), hold all % ...

casi 5 años hace | 0

| aceptada

Respondida
Index exceeds the number of array elements (1).
Note the size issues of the following variables pre-defined in your code: T=300; % Size 1 - by - 1. And you are try...

casi 5 años hace | 0

| aceptada

Respondida
Remove offset and delay of step response
(1) Start at t=0: ... N = numel(x); x = linspace(0, 5, N); (2) Remove the offset: yoff=0.5; y = T(:, 2)-yoff; % Channel ...

casi 5 años hace | 0

Respondida
How to get a single value after an iteration?
% Error=zeros([1,length(Begining)]); % REMOVE THIS! ... Error=sqrt(error)/sqrt(DN)

casi 5 años hace | 0

| aceptada

Respondida
DOUBLE SPRING MASS SYSTEMS & MATLAB’S ODE 45
There are a few errs in your code. Here is the corrected and complete code: t=[0, 3]; X0 = [1; 3; 0 ;0]; OPTs =odeset('Output...

casi 5 años hace | 1

Respondida
Error/Confusion with Simplifying Symbolic Expressions
You can also use: collect()

casi 5 años hace | 0

Respondida
How to cut an image manually using pixels values with for loop without imcrop ?
Here is a discussion thread that already addressed your question very well: https://www.mathworks.com/matlabcentral/answers/3448...

casi 5 años hace | 0

Respondida
shading in a graph
I don't think there is any plot tool that creates such graph with only data input. However, you can create this by plotting the ...

casi 5 años hace | 1

Respondida
How can I create this kind of graph?
You can use 3d bar charts - see this doc and 2d bar charts and/or histogram bars - see this doc1 and doc2

casi 5 años hace | 0

Resuelto


Enlarge array
Given an m-by-n numeric array (A) and a 1-by-2 vector (sz) indicating the dimensions [p q] to enlarge each element, return an (m...

casi 5 años hace

Resuelto


Matrix multiplication across rows
Given matrix m, return matrix n such that, rows of n are result of multiplication of the rows of the input matrix Example ...

casi 5 años hace

Resuelto


Is A the inverse of B?
Given a matrix A and a matrix B, is A the inverse of B? >>A=[2,4;3,5]; >>B=[-2.5,2;1.5,-1]; >>isInverse...

casi 5 años hace

Resuelto


Rotate Matrix @180 degree
Rotate Matrix @180 degree Example A=[8 1 6; 3 5 7; 4 9 2], then answer would be [2 9 4;...

casi 5 años hace

Resuelto


Converts numbers into characters
Converts numbers into characters

casi 5 años hace

Resuelto


Find the max element of the array
Find the max element of the array

casi 5 años hace

Resuelto


Square root
Given x (a matrix), give back another matrix, where all the elements are the square roots of x's elements.

casi 5 años hace

Cargar más