Answered
why i got error on this coding for graphical method?
T=0:200:1400; f=(0.99403)+((1.671*10^-4)*(T))+((9.7215*10^-8)*(T.^2))-((9.5838*10^-11)*(T.^3))+((1.9520*10^-14)*(T.^4))-(1.2); ...

6 years ago | 0

Answered
Extracting Data from Script
Assign those varibles as output arguments function [u,data2,x_data]=AdvDiff m=0; x=linspace(0,1,10); t=linspace(0,1,10); s...

6 years ago | 0

| accepted

Answered
How do I extract numbers from a matrix, use them in equations in the program and then assign all numbers in specific columns to variables.
mat_data(row,cloumns) Use the conditional indexing, it great way to represents any matrix data. If you can share some specific ...

6 years ago | 0

Answered
RGB to gray pic
May be, is this to add all channels value to get the particular value #See Whats going on, same code, just be one line see the ...

6 years ago | 1

| accepted

Answered
Automated detection of diabetic retinopathy
https://www.mathworks.com/matlabcentral/answers/410844-does-svmtrain-still-work-on-matlab-r2014a-since-it-has-been-removed-in-r2...

6 years ago | 0

Answered
how extract specific values from matrix and build separate arrays?
One Way: Indexing %generates T in 3D T(:,:,1)= [0.4982 0 -0.8671 1.495 0.8671 0 0.4982 2.60...

6 years ago | 0

Answered
How to convert an image to binary matrix
>> ima=magic(3) % Lets suppose ima is a Image ima = 8 1 6 3 5 7 4 9 2 >> result=dec2...

6 years ago | 0

Answered
How to find intersection between two line
idx=find(x==y) And from the index, you get the value.

6 years ago | 0

Answered
help to identify the mistake
Its works for my sample image, I have choosed n more than>3, like 5,7....

6 years ago | 0

| accepted

Answered
How to write an complicated equation using matlab
c=2 % any value within 1 to 10 a=....;% Define a and b b=.....; O=angle(min(abs(median(a.^c)-b))) or c=4; %any value wi...

6 years ago | 0

| accepted

Answered
Unable to perform assignment because the size of the left side is 1-by-1 and the size of the right side is 1-by-2.
Seems you have to consider two loops, as temp is now 1 dimentional vector Look this way, to assign both indexing (spatial posit...

6 years ago | 0

| accepted

Answered
Random times for an event to occur.
Is this? #Hint tic while toc<4.5 pause(rand) %Because of random pause, time slots varry % do here end More help: here ...

6 years ago | 0

Answered
Error using reshape To RESHAPE the number of elements must not change.
Must be same, see Total Elements on wwf6=length(cleanAudio)*1 See the following example >> A=magic(4) A = 16 2 ...

6 years ago | 0

| accepted

Answered
How can we make this code shorter?
One Suggestion use array or cell array, where it can be, for example- #Instead of this MSE1=zeros(N,IterNo); MSE2=zeros(N,It...

6 years ago | 0

Answered
Face image preprocesaing filtering
You did not attach the sample image. The question is quite broad, it is quit unfair to answer image processing noise related que...

6 years ago | 0

Answered
How to draw an image showing different-sized "threaded" black circles?
Please modify as per your requirements rectangle('Position',[2 2 4 4]); hold on; rad=linspace(0.3,0.1,8) for i=1:8 viscircl...

6 years ago | 1

| accepted

Answered
Variable horizontal alignment of cell array's strings in annotation
cases = 18; percent = 0.3; dim = [0.1 0.5 0.1 0.1]; arrcell = {['there are ',num2str(cases),' cases'],['- - - -'],['the perce...

6 years ago | 0

Answered
Make image from csv files
Example : lat = importdata('mariana_latitude.csv') imshow(lat,[]);

6 years ago | 1

Answered
How can I calculate average of two values using a for loop
Why you are dealing with cell array, you cal do same with array, By the way ave = PTS./G is not the average PTS = {539 1220 996...

6 years ago | 0

| accepted

Answered
How to divide 2D histogram into four quadrants
You can manualy insert the line as required data=randi(100,[10,10]); hist(data); grid on; hold on; x_data=1:100; y_data=r...

6 years ago | 1

Answered
Is there a logical NAND operation in MATLAB like the logical AND operation '&'?
nand_result=~(A & B)

6 years ago | 1

| accepted

Answered
How to generate triangular heatmap using matlab?
data=tril(randi(100,[15,15])); imagesc(data); colormap summer colorbar Plese DO modification and addition(labels) as per req...

6 years ago | 2

Answered
find a value and their related values in other columns
Let's example mat=[-3 0.01 0 0.04 +3 0.06 6 0.08 9 0.09]; data_cl=mat(find(ma...

6 years ago | 0

| accepted

Answered
how to create a phase plane in matlab
Quiver plot https://www.mathworks.com/help/matlab/ref/quiver.html http://www.thphys.nuim.ie/CompPhysics/matlab/help/techdoc/r...

6 years ago | 0

Answered
How to solve error " Undefined function or variable "
Save the function (Gauss_loglik.m) in the same directory (No clc or clear in function file)

6 years ago | 1

Answered
Segmentation and vertical length measurements
#NonTested, but providing the steps for the same- Convert the image to binary Apply Hit and Miss Transfrom to trace the outer...

6 years ago | 0

Answered
Change column name based on another vector
See the table and set accordingly https://www.mathworks.com/help/matlab/ref/table.html

6 years ago | 0

Answered
How to convert string "26/7" into a double variable?
X = str2double(str) converts the text in str to double precision values. Text is "22/7" This is not a number right "/" . What d...

6 years ago | 0

Load more