Answered
How to choose only 5 points with left mouse button? How to draw a rectangle [-10, 10] x [-10,10] with interval of 5? (code included)
Nur the 'right' or 'left' mouse is not important, it's the mouse button that clicks the one that inputs clicks, whether your...

10 years ago | 0

Answered
How to save all rows of an input text file beginning with a given string to another string(or file)?
John the following seems to do what you ask: 1.- get the file, row by row, into workspace cell called A fid=fopen('ex...

10 years ago | 0

Answered
Hello I have a doubt with thermal images. How to convert pixel value in a thermal image to temperature in matlab. I am working on thyroid eye detection. I have rgb image(not original inrared camera image.)
Use PerkinElmer toolbox: <http://uk.mathworks.com/matlabcentral/fileexchange/22736-perkinelmer-ir-data-file-import-tools?s_ti...

10 years ago | 0

Answered
How to import excel file to MATLAB?
formats of command xlsread call: num = xlsread(filename)example num = xlsread(filename,sheet) num = xlsread(filenam...

10 years ago | 1

Answered
Help ! two nonlinear equations
Muhammed the expression cos(3*x)-cos(3*y)+1=0 is same as -2*sin((3*(x+y+x-y))/2)*sin((3*(x+y-(x-y)))/2)=-1 ...

10 years ago | 1

Answered
Need help with Plotting inside a time loop please!
Instead of the if, use directly Ft=zeros(1,length(t)) Ft = f*sin(wavomega*t(11:14)) If you find this answer of any he...

10 years ago | 0

Answered
In a sequence of 0 and 1, how to make sure that no same values appear more than 2 times consecutively?
Dushyant the following generates sequences of random even length with your requirements of no longer than paired 1s or paired...

10 years ago | 0

Answered
How to show variables workspace in a figure?
Herr Mueller, Servus try S=whos S contains the workspace variables, than you can store in a .mat file or export else...

10 years ago | 1

Answered
Hi, please I want to calculate the distance between this tow matrix using pdist2
Olfa p=[26 255 255 255 0 255 255] s=[255 255 255 255 0 255 255] % vector distance from p to s s-p ...

10 years ago | 2

| accepted

Answered
How to sort a matrix using loops?
Michael 1 for loop is enough A=randi([-10 10],5,6) % generate input B=A(:)' % reshape A into straight line ...

10 years ago | 0

Answered
Weird results using LU
Fabio your observation of a single case and then saying that the 1st column elements other than (1,1) are inverted or swapped...

10 years ago | 0

Answered
Unable to plot a complex function with EZplot
James the point that you are plotting with ezplot means you are using a discrete time base. Try truncating the sum series ...

10 years ago | 1

| accepted

Answered
Hi! Could you tell me how to know FIRST significant digit of number? Thanks in advance!
Mr Borisov Although I agree about not going text, Jan's answer seems to return imaginary values for certain numbers: try...

10 years ago | 0

Answered
PSNR vs SNR in image Processing
Hi Dani <</matlabcentral/answers/uploaded_files/49558/image%20Peak%20SNR%20PSNR.jpg>> MAXi is the maximum possible pixel v...

10 years ago | 0

Answered
Can somebody please guide how to solve this implicit relation for T under different values of t, i have tried using solve, fsolve and fzero but not getting correct answer
Since there is only one t on the left of the equation: c=2010; To=70; Tr=200; sigma=0.119e-10; epsilon=1; rho=0.101; ...

10 years ago | 1

Answered
how can i specify a parameter for each element of a random matrix?
Mr Stafford answer is correct, yet my reading of the question is that 'for each column' means Eldha only has 2 1xM vector...

10 years ago | 0

Question


how to calculate all permutations of ['a' 'b' 'c' ... 'x' 'y' 'z'] just 26 characters, yet combinator.m combinations.m return errors
I need to calculate all permutations of simplified alphabet vector ['a' 'b' .. 'y' 'z'] with 26 characters. I know how many l...

10 years ago | 3 answers | 0

3

answers

Submitted


function to plot indoor pickers following delivery
function that animates a group of pickers delivering to open containers and returning to start point

10 years ago | 1 download |

0.0 / 5
Thumbnail

Submitted


slice using concentric spheres
slice using concentric spheres

10 years ago | 1 download |

0.0 / 5

Answered
How to plot a 2D image profile along an arbitrary line passing through the image center
Maura plot does not work if you give it theProfile directly. Either just give a single vector and plot will plot it, or give...

10 years ago | 2

Submitted


how to read surrounding matrix elements following list of coordinates
how to read surrounding matrix elements following list of coordinates answer to reddit.com question

10 years ago | 1 download |

2.0 / 5

Answered
taking input from csv file using texstcan
you have a few longer than 15 digits fields that mislead IMTool. After adding some Returns, with IMTool i got this; <</mat...

10 years ago | 0

Answered
Explicit integral could not be found
try solving with a and be defined in advance: syms x f=1/(2-3*sin(x)) f = -1/(3*sin(x) - 2) int(f,0,2*pi) ...

10 years ago | 0

Answered
How should i Implement a function that fits a line using least squares to the 2-D data points. It should output the two parameters of a line without using a toolbox for fitting the line. And i have to do this by doing regression
the function polyfit(x,y,n) does what you need. The MATLAB starter help example with n=1 x = linspace(0,1,5); y = 1./...

10 years ago | 1

| accepted

Answered
como pasar una imagen HSI a RGB
mira la aplicación <http://uk.mathworks.com/matlabcentral/fileexchange/53354-hsi-%3C-%3E-rgb-image-conversion-tools?s_tid=src...

10 years ago | 0

Answered
how can determine the region of convergence?
From Digital Signal Processing using MATLAB, by Vinay K Ingle, John G Proakis pg 104 Region of Convergence of z doma...

10 years ago | 2

Answered
How to slice a sphere using spherical coordinates
Ok, it's a Montecarlo simulation: 5 elevation (polar) sectors, 10 azimuth sectors, 5 radius steps How to translate the your ....

10 years ago | 1

Answered
How to slice a sphere using spherical coordinates
1.- you want R: radius [0 .8] cm R_step=.2 phi: azimuth (horizontal), range [0 2*pi] phi_step=36*pi/180 theta: polar (...

10 years ago | 2

Answered
How to slice a sphere using spherical coordinates
have you noticed that the points belonging to a sphere of radius 1 (surface points) can be defined with [x,y,z]=sph...

10 years ago | 2

Question


why plotted line with different color when changing width, and why different class when pulling handle from same plot
In R2016a, just started learning how to use .mlx the following long=-71.06; lat=42.36; UTCoff=-5 ; ...

10 years ago | 1 answer | 0

1

answer

Load more