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

quasi 9 anni fa | 0

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

quasi 9 anni fa | 0

Risposto
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([...

quasi 9 anni fa | 20

| accettato

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

quasi 9 anni fa | 0

| accettato

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

quasi 9 anni fa | 0

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

quasi 9 anni fa | 1

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

quasi 9 anni fa | 0

| accettato

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

quasi 9 anni fa | 5

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

quasi 9 anni fa | 0

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

quasi 9 anni fa | 0

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

quasi 9 anni fa | 0

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

quasi 9 anni fa | 1

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

quasi 9 anni fa | 3

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

quasi 9 anni fa | 0

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

quasi 9 anni fa | 0

| accettato

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

quasi 9 anni fa | 1

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

quasi 9 anni fa | 1

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

quasi 9 anni fa | 0

| accettato

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

quasi 9 anni fa | 0

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

quasi 9 anni fa | 1

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

quasi 9 anni fa | 1

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

quasi 9 anni fa | 2

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

quasi 9 anni fa | 0

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

quasi 9 anni fa | 0

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

quasi 9 anni fa | 0

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

quasi 9 anni fa | 1

| accettato

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

quasi 9 anni fa | 8

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

quasi 9 anni fa | 2

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

quasi 9 anni fa | 0

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

quasi 9 anni fa | 0

| accettato

Carica altro