Réponse apportée
Use interp2 to transform a binary matrix with polar values to cartesian values
bscan=rgb2gray(imread('image.png')); result=image2Cart(double(bscan)); imshow(result); function [bscanCart] = image2Cart(bsca...

presque 2 ans il y a | 0

| A accepté

Réponse apportée
Andrews plot function for multivariate control chart limits UCL and LCL
syms theta % P variate vector %Cross check here, just random data, it can be variable p=10; data_sin=sin((1:round(p/2)+1)...

presque 2 ans il y a | 0

Réponse apportée
display corresponding column matrix
A = [1 3 5 ; 2 4 5 ; 5 4 7 ; 2 8 10] B = [29 87 15] idx=find(min(B)==B) data=A(:,idx) It can be condensed into a single line...

presque 2 ans il y a | 0

| A accepté

Réponse apportée
Gershgorin's Circle: how can I find the intersection of the union of circles?
warning off; % gerschgorin.m A=magic(5); gerschgorin(A) function gerschgorin(A) if size(A,1) ~= size(A,2) err...

presque 2 ans il y a | 0

| A accepté

Question


Will the MATLAB Answers community diminish/obsolete with the rise of AI-based chatbots?
The MATLAB Answers community is an invaluable resource for all MATLAB users, providing selfless assistance and support. However,...

presque 2 ans il y a | 5 réponses | 1

5

réponses

Réponse apportée
How can I normalize my PET/CT images
Normalization can be done in multiple scale range. You may follow the following way image_data=double(original_image) %Norma...

presque 2 ans il y a | 0

Réponse apportée
the best way to save .txt
While I cannot definitively claim that it is the absolute best, as "best" is subjective and varies depending on individual persp...

presque 2 ans il y a | 1

Réponse apportée
how do I plot the signal x(t)=t^2 for -2<=abs(t)<=2 and x(t)=0 for 2<=abs(t)<=4, with period To=8??
First Way: To meet your professor's expectations, you can code by incorporating conditional statements or utilizing the if-el...

presque 2 ans il y a | 0

Réponse apportée
How can I add axes on top and right?
This way legend('Case 1', 'case 2'); legend_data= legend('Line 1', 'Line 2'); legend_data.Location = 'northwest';

presque 2 ans il y a | 1

Réponse apportée
How do you know the font size in an image?
One Way (Limitation based on Input Data): Steps Segment the Text region of the image. Try for text region detection, you can ac...

presque 2 ans il y a | 0

Réponse apportée
Error using ==> plot Error in color/linetype argument
s=1.34*10^-5; mo=1.34*10^-5; z=16.87*10^-4; x=2.51*10^7; k=103; r=linspace(0,2,50); F=(s./r.^2)*mo*exp(z).*(exp(-x*r.^2))....

presque 2 ans il y a | 1

Réponse apportée
Save and load variable
You may use load function, detail here https://in.mathworks.com/help/matlab/ref/load.html

presque 2 ans il y a | 0

Réponse apportée
How to find the minimum distance from one point to other point ?
You can do that in multiple ways, one way Segment both boundaries into two separate images. Store the pixel indices in a cell...

presque 2 ans il y a | 0

Réponse apportée
How to get numerical output
You can use vpa https://in.mathworks.com/help/symbolic/vpa.html

presque 2 ans il y a | 0

| A accepté

Réponse apportée
Hi everyone. How can I fix this issue?>>>Array indices must be positive integers or logical values.
Error Here >> t - N + 1 ans = -1 hence in MTALAB Y1(-1) is not valid statement, all indices must be real & positive number ...

presque 2 ans il y a | 0

Réponse apportée
Why doesn't it work? - Different size between Left side and Right side
phi(:, j)' * F(t(i)) / ((omega(j)^2) - (2*zeta(j)*omega(j)*1i) - (omega(j)^2)); The result of the above statement is vector, no...

presque 2 ans il y a | 0

Réponse apportée
Kmeans clustering to detect pothole
Please change the k number of segments, which works best in your case. I= imread('image_pathhole.jpeg'); k=3; [L,Centers] = i...

environ 2 ans il y a | 0

| A accepté

Réponse apportée
How can I import an excel data and export results to another excel file?
Import Excel Files: https://in.mathworks.com/help/matlab/import_export/ways-to-import-spreadsheets.html %Do the coding work a...

environ 2 ans il y a | 1

| A accepté

Réponse apportée
How to print the given data in three different text files such that after each iteration the values are appended?
Same way, as I have answered in your another question https://in.mathworks.com/help/matlab/ref/diary.html diary data_file_nam...

environ 2 ans il y a | 0

| A accepté

Réponse apportée
How to write data of a variable generated in a loop in a text file such that it is written after every row or appended?
diary my_data loop %diaplay the data in command window diary off Please see details diary function https://in.mathworks.co...

environ 2 ans il y a | 0

Réponse apportée
Help a total noob run matlab script
Welcome to the MATLAB World, MATLAB is a programming platform designed specifically for engineers and scientists to analyze and ...

environ 2 ans il y a | 0

Réponse apportée
how can ı solve the part c
Hints: height= %initialize while deflection<=5 height=height+.. %update with increment, all in mm dlection= ...

environ 2 ans il y a | 0

Réponse apportée
Why does imshow display different image when I try to show a CT image?
Can you try this way- [img,map] = imread('Slice_87.png'); imshow(img,map);

environ 2 ans il y a | 1

Réponse apportée
I want to plot this code, but my value show zero and the graph nothing to show. How to fix it
M1 must be vector, however in the code plot M1(j+1) is a scalar (Single value) plot (dt,M1,'r','Linewidth',3); To get the desi...

environ 2 ans il y a | 0

| A accepté

Réponse apportée
How i can i Ensure that my 2 vectors have the same size?!
Hope I have understand the question- Here is the example DAPEAK_IN=randi([1,100],[1,randi(200)]); %Random data size(DAPEAK_I...

environ 2 ans il y a | 0

Réponse apportée
How to convert cell of array containing cell of array (n×n) order into a Single cell of arrays (n×n) order??
cell_1={3,4,5;7,8,9} cell_2={13,14,15;17,18,19} new_cell=[cell_1,cell_2] new_cell=[cell_1;cell_2]

environ 2 ans il y a | 0

Réponse apportée
Using two functions in a loop
iter=1; for i=1:iter try fun1(3,8) catch fun2(4,6) end end function z=fun1(a,b) z=a.b ...

environ 2 ans il y a | 0

| A accepté

Réponse apportée
Define an empty matrix Z. Using FOR statement for i = 1, . . . , 10, print out i and store i in the matrix Z at each iteration
Hint: Complte it. Learn MATLAB Basics MATLAB Onramp https://matlabacademy.mathworks.com/details/matlab-onramp/gettingstarted Z...

environ 2 ans il y a | 0

Réponse apportée
Array math: The logical indices contain a true value outside of the array bounds.
The y value can be store in a cell array and use the cellfun to get the result. Here is an example- #Without Loop x=[10 12 13...

environ 2 ans il y a | 1

Réponse apportée
Undefined function or variable 'otfsmod' in MATLAB 2018a !!!!!
otfsmod This might be not inbuilt MATLAB funtion. It suppose to be external custom function. Please confirm the source of the f...

environ 2 ans il y a | 0

Charger plus