Beantwortet
Why do I get "1x4 cell" instead of a listing of the connected senors?
With no further details supplied, the connected sensors should be in list_csensors=myev3.ConnectedSensors MATLAB 7 and a...

fast 9 Jahre vor | 0

Beantwortet
Why can“t I binarization left lung?
Veronika this is John BG ( <jgb2012@sky.com> ) to remove the MATLAB syntax errors, ignoring the image segmentation itself...

fast 9 Jahre vor | 0

Beantwortet
How to make a "moving" graph for a real time signal along the x-axis?
Hi Jeff this is John BG ( <jgb2012@sky.com> ) you may consider axis shifting x1, dx y1 y2 constant, with axis([...

fast 9 Jahre vor | 20

| akzeptiert

Beantwortet
Efficient Weighted Moving average
Hi Matlab User 1. simulating data clear all,clc V=zeros(25,3);x=V(:,1);y=V(:,2); w=randi([1 9],25,1); w=...

fast 9 Jahre vor | 0

| akzeptiert

Beantwortet
How to pass summation of function handles to fminsearch
Hi Albert 1. I have changed the syntax so it doesn't return error, could you please be so kind to confirm that this way is...

fast 9 Jahre vor | 0

Beantwortet
str2func vectorize input x1, x2 to x
Hi Qun Wu with the following syntax it works ok str2 = 'x1 + u - x2'; f2 = str2func(['@(x1,x2,u)', str2]); f2(1,2,3) ...

fast 9 Jahre vor | 1

Beantwortet
error window to a model function after nlinfit
Hi Debi clear all dx=.001;x=[-2*pi:dx:2*pi]; a0=5; da=.1; alow=a0-da; ahigh=a0+da; a=[alow:0....

fast 9 Jahre vor | 0

| akzeptiert

Beantwortet
A function that computes the sum of a geometric series.
Hi Patrick clear all,clc N=3 r=3 R=[1:1:r] sr=0 for k=1:1:r sr=sr+R(k).^[1:1:N] end ...

fast 9 Jahre vor | 5

Beantwortet
test values of matrix without loop to optimize my function
Hi Telkab01 a=2160; b=1434; % image size ni=10 % number of images S % matrix containing the images with format S(a(i...

fast 9 Jahre vor | 0

Beantwortet
How to plot this function in matlab?
Hi Ahmad with new fplot is even easier a=1,b=2;fplot(@(x) exp((x-b)/a)) if you find this answer useful would you ple...

fast 9 Jahre vor | 0

Beantwortet
How can i find centering of matrix
Hi Sara I found a definition of Matrix Centring in <http://stackoverflow.com/questions/37375213/centering-matrix-in-matlab...

fast 9 Jahre vor | 0

Beantwortet
how to find percentage of similarity between two arrays.
Hi Aditya This is John BG ( jgb2012@sky.com ) the following solves this question, and your other question <https://uk.m...

fast 9 Jahre vor | 1

Beantwortet
Mean and 3-sigma in Lognormal plots
Hi Kash022 1. The attached function lognormal_pdf_123sigma_locations.m calculates the non symmetric locations of +-sigma...

fast 9 Jahre vor | 3

Beantwortet
how many for loops would be needed to loop through each value of two dimensional array
Greg it depends on the processing you want to perform and the type of 2D matrix you have. 1. If the indices are not to ...

fast 9 Jahre vor | 0

Beantwortet
Rotation of a two orthogonal vectors
Hi Dmitry you have to build the 3D rotation matrix and then apply it to each vector <</matlabcentral/answers/uploaded_fi...

fast 9 Jahre vor | 0

| akzeptiert

Beantwortet
Summation of for loop values-infinite series
ok 1. My understanding of your question, is that if you start with a mesh, then there shouldn't be any need to loop be...

fast 9 Jahre vor | 1

Beantwortet
Do I need symbolic math toolbox to graph a function such as f(x)=ln(x) or f(x, y)=y^2/x
Hi Emilia if it's about just plotting a function, there is a new function that does not require the symbolic Tool box called...

fast 9 Jahre vor | 1

Beantwortet
My code for isn't working. To store iterations from a FOR loop into a single variable as a single row vector
Hi Moses 1. add ; after end 2. MATLAB is case sensitive, X capital is not used and then dec2base expects undeclared ...

fast 9 Jahre vor | 0

| akzeptiert

Beantwortet
Need Help, Error in for loop
Hi CM got your code to work, but not sure the result is what you expect, please confirm T=1.2; maxiter=15; P=[0:2...

fast 9 Jahre vor | 0

Beantwortet
Error using mvncdf: "SIGMA must be a square, symmetric, positive definite matrix."
Josh your function E doesn't seem to work correctly for some input values, for instance E([5 -5]) ans = 0 ...

fast 9 Jahre vor | 1

Beantwortet
Convolution function and shifting
fixed it, thanks for pointing out that the result was not aligned. Please have a look and let me know if now this deserves an...

fast 9 Jahre vor | 1

Beantwortet
Convolution function and shifting
Hi thatguy14 I have fixed your script, it didn't have a time reference. MATLAB functions conv and conv2 do not have time r...

fast 9 Jahre vor | 2

Beantwortet
My values for f(x) are right but values for p(x) and |f(x) -p(x)| are wrong. What am I doing wrong in my code?
Hi Victoria now it works ok 1. your function function Chebyshev(f,p,x) L = length(p); T = zeros(L,L); F =...

fast 9 Jahre vor | 0

Beantwortet
codegen error: The left-hand side has been constrained to be non-complex, but the right-hand side is complex
Hi ChipMonk Now your translation moves, but I had to randi variables *Nb_out* and *z_in* with guessed sizes: Nb_out=(Nb_...

fast 9 Jahre vor | 0

Beantwortet
figure(2) not opening a new window, simply overwrites figure(1)
Hi Chris without any code to check, the problem you mention happens when for instance the second plot sends data to same hand...

fast 9 Jahre vor | 0

Beantwortet
I have a question about checking if two integers have matching digits in the right area
Akhil even easier 1. your data n = 1234;x = 6243; 2. single line sum(~(double(num2str(n))-double(num2...

fast 9 Jahre vor | 1

| akzeptiert

Beantwortet
Writing an exponential equation in the title
Akhil you mean this a=8.56;n=0.68; figure; title(['y = ' num2str(a) ' x^{' num2str(n) '}' ]); <</matlabcentral/...

fast 9 Jahre vor | 8

Beantwortet
Find the consecutive positive and negative elements for the entire array
Jayanta you are almost there, all left is is 1. to accumulate the indices that your loop is already finding. You curr...

fast 9 Jahre vor | 2

Beantwortet
Zeros of a complex surface
wrong approach, people take abs(Z)==0 to solve the problem mentioned in your question PRECISELY because whem real(Z)==0 && i...

fast 9 Jahre vor | 0

Beantwortet
min/max values in 3 dimensional arrays
Hi Mike the command histogram generates all you need for this question: 1. your data A=[15, 1, 5.23; 15, 2, 6.33; 1...

fast 9 Jahre vor | 0

| akzeptiert

Mehr laden