Answered
Does Matlab support reading JXR files? (JPEG XR from Microsoft)
https://github.com/sulai1/mmdf is a project that puts together reading JXR in MATLAB.

4 years ago | 1

Answered
Is it possible to use arduino to convert Analog signal to Digital signal and transmit it into computer via USB and filter this signal by Matlab?
There are several approaches possible * if you have a line level voltage or similar and perhaps some resisters to convert vol...

4 years ago | 0

Answered
How to solve an equation which includes iteration/summation and with a mixed unknown variable ?
Do not try to solve it in terms of a summation. Instead, construct a ./ ratio of vectors (the terms with all the varying i value...

4 years ago | 1

| accepted

Answered
Random triplets not asymmetrically distributed
Please look in the File Exchange to get randfixsum() by Roger Stafford https://www.mathworks.com/matlabcentral/fileexchange/9700...

4 years ago | 1

| accepted

Answered
Sending Text to Hex in serial Port
msg=[0xFF 0x2F 0x31 0x41 0x31 0x30 0x30 0x52 0x0D] That does not create msg as a character vector with '0xFF<space>' and so on...

4 years ago | 0

| accepted

Answered
Find minimum enclosing circle
Use regionprops() to find the Centroid and PixelList . The circle center goes at the centroid. The maximum distance between the ...

4 years ago | 0

Answered
Error in function 'quiver' during rectangular waveguide design
Ex = zeros(size(Ey)) ;

4 years ago | 0

Answered
I want to change the color of markers in scatter plot which are greater than the specified values but I am facing difficulty
set(h,'YData','MarkerFaceColor','r','Markeredgecolor','r') It is possible to set YData of a scatter plot, and doing...

4 years ago | 0

Answered
find the angles of a triangle given double coordinates
The second output of the boundary() function is the area of the enclosed polygon.

4 years ago | 0

Answered
'fittype' requires Curve Fitting Toolbox.
Install the Curve Fitting Toolbox (after having licensed it.)

4 years ago | 0

Answered
Can anyone help me to plot these data by scatter3 ploting?
You file only has one column of data. It has 1230 rows, which consists of periods of zeros mixed with periods of non-zero data. ...

4 years ago | 0

Answered
I want to extract w and x from this code, but unfortunately i cant and it gives me only 1 answer.
function [sol, w, x] = numintla(fun,n) I would recommend that you reconsider your requirement. Your x variable is whatever was ...

4 years ago | 0

Answered
How can I give different thresholds to an image
first_answer = cot ~= 0; second_answer = cot > 1; third_answer = cot > 5; If you are trying to categorize the pixels by range...

4 years ago | 0

| accepted

Answered
how can I change lighting using codes?
See https://www.mathworks.com/help/matlab/creating_plots/lighting-overview.html

4 years ago | 0

| accepted

Answered
I want to generate the random numbers in the closed area (rectangle).
r = rand(N,2); rand_ab = r(:,1) * (b-a) + a; rand_cd = r(:,2) * (d-c) + c; rand_coords = [rand_ab, rand_cd];

4 years ago | 1

Answered
Problem with FONTSIZE on inputdlg
What you need to do is take a copy of the code, renaming it to a different function, and edit the line TextInfo.FontSize ...

4 years ago | 0

| accepted

Answered
getting output in the form of 'vpaintegral' when applying dsolve command
Change the plotting to something like this: tvec = linspace(tstart, L/v, 200); Y = double(subs(you, t, tvec)); plot(tvec, Y) ...

4 years ago | 0

Answered
I want to draw a confidence ellipse in MATLAB, it says that there is error in my code. I don't know why...
MATLAB does not offer any function named ellipse() There is an ellipse() File Exchange contribution.

4 years ago | 0

| accepted

Answered
Interpolation of data in a given area
amax=1.49895; amin=1.49747; bmin=2.62186; bmax=2.62471; N = 200; avec = linspace(amin, amax, N); bvec = linspace(bmin,...

4 years ago | 0

| accepted

Answered
How to define a colormap easily
https://www.mathworks.com/help/matlab/ref/uisetcolor.html or https://www.mathworks.com/matlabcentral/fileexchange/4184-matlab-...

4 years ago | 1

Answered
Find groups/clusters of 1's in 3d matrix
props = regionprops(Your3DArray, 'area'); cluster_sizes = [props.Area]; You might want to adjust the Connectivity, depending o...

4 years ago | 0

| accepted

Answered
How to replace/remove duplicate columns datas in a .dat file?
https://www.mathworks.com/help/matlab/ref/findgroups.html findgroups() to find the A, B combinations. Possibly use splitappl...

4 years ago | 0

Answered
Mapshow shape files of different coordinates (distance and degrees decimals) using mapping tools in Matlab on each other
You should be passing referencing information to mapshow() https://www.mathworks.com/help/map/georeferenced-raster-data.html ...

4 years ago | 0

Answered
callback of multi line edit box
This is not inconsistent with the documentation -- which does not explicitly say that enter will trigger the callback. https://...

4 years ago | 0

| accepted

Answered
a bug with 'xlswrite'
The limit for Excel 2007 is 8203 characters; https://forums.ivanti.com/s/article/Error-when-exporting-to-Excel-from-query-result...

4 years ago | 1

| accepted

Answered
How to repeat the matrix to complete the shape of Matrix
Your requirements are not clear. targetsize586 = 10000; n586 = numel(Mat_586); nrep = targetsize586 / n586; fullrep = floo...

4 years ago | 0

Answered
How can I change multiple elements in a matrix only in specific parts of the column/row?
If it were 50 x 50 and you were storing a constant into the array, then mask = tril([zeros(1,50); zeros(49,1), ones(49,49)]); ...

4 years ago | 0

| accepted

Answered
How to classify a folder of images after training network
newImage = imread(fullfile('test101.jpg')); replace that with an image data store. Something like newImage = imageDatastore(Fo...

4 years ago | 0

Answered
How to define if a histogram is unimodal or bimodal
histogram() has only ever returned the handle to the histogram() object. By following your logic, I can see that your code is ...

4 years ago | 0

Load more