Réponse apportée
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); ...

plus de 6 ans il y a | 0

Réponse apportée
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...

plus de 6 ans il y a | 0

| A accepté

Réponse apportée
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 ...

plus de 6 ans il y a | 0

Réponse apportée
How to calculate F1 score for my logistic regression application

plus de 6 ans il y a | 0

Réponse apportée
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 ...

plus de 6 ans il y a | 1

| A accepté

Réponse apportée
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...

plus de 6 ans il y a | 0

Réponse apportée
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...

plus de 6 ans il y a | 0

Réponse apportée
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...

plus de 6 ans il y a | 0

Réponse apportée
How to find intersection between two line
idx=find(x==y) And from the index, you get the value.

plus de 6 ans il y a | 0

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

plus de 6 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 6 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 6 ans il y a | 0

| A accepté

Réponse apportée
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 ...

plus de 6 ans il y a | 0

Réponse apportée
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 ...

plus de 6 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 6 ans il y a | 0

Réponse apportée
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...

plus de 6 ans il y a | 0

Réponse apportée
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...

plus de 6 ans il y a | 1

| A accepté

Réponse apportée
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...

plus de 6 ans il y a | 0

Réponse apportée
Make image from csv files
Example : lat = importdata('mariana_latitude.csv') imshow(lat,[]);

plus de 6 ans il y a | 1

Réponse apportée
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...

plus de 6 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 6 ans il y a | 1

Réponse apportée
Is there a logical NAND operation in MATLAB like the logical AND operation '&'?
nand_result=~(A & B)

plus de 6 ans il y a | 1

| A accepté

Réponse apportée
Help!! I'm trying to plot a function where the output changes with different values of the array. my for loop works, I can see the values changing. I just have trouble with plotting it. I get a graph with nothing in it! any help is appreciated!
gamma=0.268; dt=0.05; T=10; t=0:dt:T for tt=1:length(t) x=gamma*sqrt(((1-cos(0.7255*t(tt))).^2+(sin(0.7255*t(tt))).^2)/((...

plus de 6 ans il y a | 1

| A accepté

Réponse apportée
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...

plus de 6 ans il y a | 2

Réponse apportée
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...

plus de 6 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 6 ans il y a | 0

Réponse apportée
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)

plus de 6 ans il y a | 1

Réponse apportée
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...

plus de 6 ans il y a | 0

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

plus de 6 ans il y a | 0

Réponse apportée
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...

plus de 6 ans il y a | 0

Charger plus