Answered
Compare the rows of an array with another one's array
Lia = ismember(A,B,'rows')

4 years ago | 0

| accepted

Answered
Values generated by the loop Seem Wrong
I believe you are mistakenly updating VFull in each iteration. h1 = 14.05; %h1 should be replaced with h1New after...

4 years ago | 0

| accepted

Answered
Attempting to Plot Multiple Answers from a Loop
I believe you missed to track the V inside your loops. Also, please lookup the documentation for plot() for a better manipulatio...

4 years ago | 0

Answered
Iterate to filter signal in a parfor
The error is caused by the way global digital filter objects are handled by filter() in parfor loop. function [outputData] = lo...

4 years ago | 0

Submitted


Gauss-Jordan-Reduction or Reduced-Row-Echelon
Matrix Operation - Reduced Row Echelon Form aka Gauss Jordan Elimination Form

4 years ago | 6 downloads |

Answered
How can I create one vector x to have this function correct? x has to be the column vector k- 'th of A, from its diagonal to the end
k has size nr x (nc-1). you are trying to assign x = k(2:nr,nc) which means the nc-th column of k. but k doesn't have nc-th colu...

4 years ago | 0

Answered
Marking a specific point on a PDF graph
gradeIn = str2num(answer{2}); [p,x] = hist(retrieved_class); p = p/sum(p); figure;plot(x,p) hold on; plot(x(x==gradeIn),p(...

4 years ago | 0

Answered
Fourier Graphs of my lowpass and high pass filtered signals are looking weird
Last update: Running your Lowpass code: %LPF 30Hz y_LPF_30 = lowpass(y,30,Fs); yf_LPF_30 = fft(y_LPF_30); % 30Hz %set up ...

4 years ago | 1

| accepted

Answered
How to iterate over parfor
I am not sure how much this would help, as I couldn't reproduce your error. Please let me know how it goes. input_signal = zero...

4 years ago | 0

| accepted

Answered
How can I make my high pass filter more accurate?
If my cutoff frequency is 270 Hz, why do I get still frequencies below 270? Unless it's an ideal highpass filter, most filter i...

4 years ago | 0

| accepted

Answered
Creating a variable number of prompts.
prompt = {'Enter Your Name.', 'Number of Tests Taken. '}; dlgtitle = 'Name & Tests Taken'; dims = [1 50]; definput = {'Name...

4 years ago | 0

| accepted

Answered
Problem in fitting a curve
The problem is in your choise of equation. y is always calculated as zero. I think its because of the exponential component: e...

4 years ago | 0

Answered
Please help with revised question
https://www.mathworks.com/matlabcentral/fileexchange/73567-gaussjordanreduction

4 years ago | 0

| accepted

Answered
Can I run a matlab file with symbolic functions from the command line?
syms x_1; syms x_2; syms x_3; syms x_4; syms x_5; syms x_6; Hope this helps!

4 years ago | 0

| accepted

Answered
How to create 2D sub arrays by sampling every n by n points
B = reshape(A,35,35,[]);

4 years ago | 1

Answered
how to perform two dimensional deconvolution in matlab?
deconv() is defined only for vectors, not for matrices. this might be helpful for matrices and images: https://stackoverflow.c...

4 years ago | 0

| accepted

Answered
Need help solving first order DiffyQ analytically with matrix
If I understood it right, your x and y are supposed to be 2x1 vectors. gamma=0.5; H=[(gamma*i) -1;-1 -i*gamma]; % G=(2:2); % ...

4 years ago | 0

| accepted

Answered
Image labeler Train cascade error!
Could the error be that I'm using pixel label instead of line or rectangle label? Yes, sorry! Update: [imds,pxds] = pixelLab...

4 years ago | 1

| accepted

Answered
Can you check my error code?
x = linspace (-2,4,101); span = [0 1 2]; for i = -1: 2 h1 = plot (x (x> (span (1) + i * 2) & x <(span (2) + i * 2)), ... ...

4 years ago | 1

Answered
Gauss-Jordan Elimination
I didn't use the (sub-)functions, but tried to sketch out the algorithm following your logic in this file: https://www.mathwork...

4 years ago | 0

| accepted

Answered
How to solve an equation with an array of constant parameters?
syms x e >> eqns = x*log2(x)==e eqns = (x*log(x))/log(2) == e >> S= solve(eqns,x) S = (e*log(2))/lambertw(0...

4 years ago | 1

| accepted

Answered
Giving error in confusion plot
ConfusionMat2 = confusionchart(table2array(Y),isLabels2);

4 years ago | 0

| accepted

Answered
Error using plot, vectors must be the same lengths?
Plot() doesn't allow the syntax plot(y1,y2,y3). https://www.mathworks.com/help/matlab/ref/plot.html If t, y, dfx, and ddfx are ...

4 years ago | 1

| accepted

Answered
Keep Getting This Error when plotting historgram and plot
Use yyaxis left before plotting the histogram. If you can share the data and the parameter values, I could try to debug.

4 years ago | 0

| accepted

Answered
Storing for loop output that is a matrix 1 x 6387 each iteration in one matrix
I am assuming that you meant your xx2 has size 1x6387, and you want xs to be of size 1x12774 after two iteration. n1 = 50; % Nu...

4 years ago | 1

| accepted

Answered
90 degree phase shift
Updated answer: The problem is with the way "Outport" and "Configuration" blocks are used here. For example, change the Output ...

4 years ago | 0

| accepted

Answered
Warning: Rank deficient, rank = 1, tol = 1.324612e-01.
x = A\B solves the system of linear equations A*x = B. The matrices A and B must have the same number of rows. MATLABĀ® displays ...

4 years ago | 0

Answered
the average of multiple Probability density functions
The idea of "average" is ill-defined for pdfs. In your case, all the 1000 distridutions are generalized paretos. Your theta is...

4 years ago | 1

| accepted

Answered
for loop for monte carlo code
This code moves one particle (randomly picked from 5) to either left or right available space. If no space available, it remains...

4 years ago | 0

| accepted

Answered
Help with loop script
If you can share x, I could test it properly. Otherwise, I think you just need 'hold on': xMatrix=reshape(x,L,TS/L); %Filterin...

4 years ago | 0

Load more