답변 있음
64 bit binary number representation in matlab without rounding off
num=1.01010101010101e+41; format long g; % Put the format, its just change the display pattern bin_num=dec2bin(num); Result:...

대략 7년 전 | 1

답변 있음
how to turn back into a loop after using Break command in the loop
Suppose you create a custom function to read the individual bit. like as follow- %#Read the data function bit_out=data_bit(i,...

대략 7년 전 | 0

답변 있음
Why does the temperature “T” not change when I change total time “t” for 2D transient heat conduction using explicit FDM?
Why does the temperature “T” not change when I change total time “t” t = 12*10^-3; % total time dg =...

대략 7년 전 | 0

| 수락됨

답변 있음
how to replace the elements row by rows instead of column by column in matrix
A=[0 0 3 3 3 0 0 3 0 0; 0 0 0 3 3 3 0 3 3 0] [rows colm]=size(A); B=zeros(rows,colm); for i=1:rows B(i,i+2:end-3+i)=1; end ...

대략 7년 전 | 0

답변 있음
Shpewrite error using Matlab example
May be your code is partial, have you defined S before it is used? If yes, you have to share the complete code, so that people c...

대략 7년 전 | 0

답변 있음
Saving images into various folders
Original Question "I am working on image clustering. My algorithm reads the image set from my system into MATLAB and segregates...

대략 7년 전 | 0

답변 있음
how to store some of the values of a simulation while running?
You can do it as follows u_out=zeros(100000,1); j=1; for i=1:length condition check, if yes u_data(j)=.... j=j+1 else ...

대략 7년 전 | 0

| 수락됨

답변 있음
How to get high & low pixel intensity value from a image?
Considering gray Image, say image_gray high_pixel=max(image_gray(:)); low_pixel=min(image_gray(:));

대략 7년 전 | 0

답변 있음
How to use loop in my code for key generation
#Edited k=cell(1,8); k{1}=[36 6]; k{2}=[117 3]; k{3}=[198 310]; k{4}=[68 86]; for i=5:8 k{i}=2*k{i-1}+k{i-4}; end

대략 7년 전 | 0

| 수락됨

답변 있음
Bisection help PLS HELP ME
"but I cant seem to figure out why it wont work I just get this error" function f_value=f(~) k = 2800; m = 0.6705; Fo = 2.05...

대략 7년 전 | 1

| 수락됨

답변 있음
Error: Not enough input argument (line 6)
Pass the inputs to the function Data,model,estR,estE. Save the function file in same directory Call the function from differen...

대략 7년 전 | 0

답변 있음
how to identify clear leaf in this image.
You can look at color thresholding aproach like here, and for smothness of the edges use morphological operations. To get the be...

대략 7년 전 | 0

| 수락됨

답변 있음
Help :Difficult to solve linear equations in matlab??
You can't do that- y(1)=302.6:0.0055:332.3; y(1) refering a y array with index postion 1, how can you save multiple values on ...

대략 7년 전 | 0

답변 있음
Image segmenting or image division
Lets say Image is image1 having size 64x64 [rows colm]=size(image1); m=1; im1=[]; for i=1:4:rows-4 for j=1:4:colm-4 im1{m}...

대략 7년 전 | 0

답변 있음
using svd before canny edge detection
im=rgb2gray(imread('2.png')); figure,imshow(im); [data_svd, S,D]=svd(double(im)); edge_image=edge(data_svd,'canny'); figure,...

대략 7년 전 | 0

| 수락됨

답변 있음
How do I make 2 bar stacked per month (x-axis)?
Test file is attched. data=xlsread('sample_file_test.xlsx'); bar(data,'stacked');

대략 7년 전 | 0

답변 있음
hi everyone, how can i plot a matrix in logarithm scale dB
load('dBscale.mat') loglog(devst_x) Is this you are looking for?

대략 7년 전 | 0

| 수락됨

답변 있음
problem with if function ( Error using < Not enough input arguments.)
0.0677*rec*prc*dti/lt; %..................^ Define lt

대략 7년 전 | 1

| 수락됨

답변 있음
Incorrect Dimensions for Matrix Multiplication in DFT script
What I did? For matrix multiplication, the number of columns in first matrix must be equal to the number of rows in second matr...

대략 7년 전 | 0

| 수락됨

답변 있음
How can I store the outputs of my function into a matrix?
#Edited:Initialize l=1 before for loop d_array={}; m=1 for... d_array{m}=horzcat(d, i, j); m=m+1; Save the all generated a...

대략 7년 전 | 0

| 수락됨

답변 있음
Random Number for For Loop
iter_num=10; % change as per your requirement x=[]; for i=1:iter_num x(i)=randi([5 9]) end or iter_num=10; % change as per...

대략 7년 전 | 1

답변 있음
How can I sum a specified region of a matrix?
mat=matrix_given(20:25,1:3,:); result=sum(mat(:)); For detail read Multidimensional Arrays

대략 7년 전 | 1

답변 있음
Index exceeds array bounds error
Yes no error with w=rand(253,100); Check: >> whos w Name Size Bytes Class Attributes w ...

대략 7년 전 | 1

| 수락됨

답변 있음
How to create matrix using different columns but same length
Do the cell array final_mat={1signal_mat,2signal_mat, .......} Here 1signal_mat,2signal_mat etc are matrices with any sizes

대략 7년 전 | 0

답변 있음
change the iteration in for loop
# Experts need your suggestions here for i=1:10 c(i)=...% do while isnan(c(i)) || c(i)>0.009 c(i)=.. end end I know multi...

대략 7년 전 | 0

답변 있음
How do i get periodic decaying impulse function using combination of sine and exponential functions
I didnot go through your code, just read the title of the questions- i get periodic decaying impulse function using combination...

대략 7년 전 | 0

답변 있음
How do I increment the value of a variable after each statement by 1?
C=zeros(1,50); for i=1:50 C(i)=....% end

대략 7년 전 | 0

답변 있음
Mix-integer optimization problem using GA
Define x1 as array with allowable values, x1 =[32 40 50 65]; if sum(x1==input_value)>=1 % Allowed % Do something else %No...

대략 7년 전 | 0

답변 있음
Continually updating graph/ Dynamic Graph/ Live Graph
Yes, you can do that. Use linkdata, which allows automatically update graphs when variables change.

대략 7년 전 | 0

답변 있음
Imfindcircles() detect circles which are not there..
When I checked imfindcircles on subtracted image (all pixels 255), I didnot get any circles. im=imread('subtracted.png'); Rmi...

대략 7년 전 | 0

더 보기