Answered
simulation configuration - how to get output- yout?
connect the outputs you want to display to |out1| blocks from |sinks| , and in configuration parameters (under data import/expor...

12 years ago | 1

| accepted

Answered
Incorrect subtraction value in Matlab GUI
Maybe you need to convert from string to double P = minus(str2num(RxText3),key);

12 years ago | 0

| accepted

Answered
How to read several times similarly from EXCEL?
for k=1:100 sheet= sprintf('A%d',k) E{k}= xlsread('filename', sheet) end

12 years ago | 0

| accepted

Answered
how to delete the white pixel(255) from grey scale image
im(im==255)=0

12 years ago | 1

| accepted

Answered
How to import variable into a MATLAB function in Simulink without explicitly defining them?
Use data store memory block <http://www.mathworks.com/help/simulink/ug/using-global-data-with-the-matlab-function-block.html#bs...

12 years ago | 1

| accepted

Answered
maxsize of array on matlab 64bit?
Look at this link <http://www.mathworks.com/matlabcentral/answers/91711>

12 years ago | 0

Answered
i want to move the rows to next row after every 25 iterations.....but logic is not working
Maybe you want if mod(count,25) QV=QV; else QV=circshift(QV, [1,0]); end count=count+1;

12 years ago | 0

Answered
please i need the matlab code for this question
Use plot function doc plot

12 years ago | 1

Answered
How do we get classic menus back?
The only way is to downgrade your Matlab to R2012a

12 years ago | 0

Answered
Bitwise addition if bit is 1.but not gettin answer.
Maybe you want q=347; q=dec2bin(q) c=sum(q=='1') %or c=numel(strrep(q,'0',''))

12 years ago | 0

| accepted

Answered
PROBLEM WITH CREATION SUBSTRINGS IN ARRAY
s = [0 1 0 0; 1 1 0 0] n=3; m=size(s,2)-n+1; idx=cell2mat(arrayfun(@(x) x : x+n-1,(1:m)','un',0)); M=[]; for k=1:size(s,1...

12 years ago | 0

| accepted

Answered
Determine the Y value from a given X from the generated figure?
If you have your two vectors x and y y0=interp1(x,y,x0)

12 years ago | 0

| accepted

Answered
Calling automatically created matrices
Instead of creating all those matrices, it's better to create one cell array containing all your matrices X{1}=[0;0] X{2}=...

12 years ago | 0

Answered
Compare and replace elements in a matrix
A=[1 2 3 4 5 6 7 8 9 10]; B=[2 5 10]; for k=1:numel(B) A(ismember(A,B(k))=0; end or A(ismember(A,B))=0 or ...

12 years ago | 1

| accepted

Answered
How to interpret units from excel sheet data,when reading into MATLAB?
%If your data lookds like this A={1 '-1.5m';2 '-2.5m'} c1=A(:,1); c2=A(:,2); t=cell2mat(c1) y=str2double(strrep(c2,'m',...

12 years ago | 0

Answered
Simulating Two Different Blocks with Delay
you can use <http://www.mathworks.com/help/simulink/ug/enabled-subsystems.html enabled subsystem>

12 years ago | 0

| accepted

Answered
Cannot open matlab program
Try this open task manager In application select Matlab then right click and choose bring to front

12 years ago | 0

Answered
Help me about creating GUI in matlab ?
You can get the screen size: scr_size = get(0,'ScreenSize');

12 years ago | 1

Answered
Exporting MATLAB data to .MDB
You can use <http://www.mathworks.com/help/database/ database toolbox>

12 years ago | 0

| accepted

Answered
I have 4X4 stiffness matrix and evey element in matrix is a vecor. How can I write 'for' loop for this matrix so that I will get number of matrices according to variable as element in the matrix?
I don't see where is the problem. For example: k1=2; k2=3; A=[112 2+k1; 2*k1+k2 12] %If you want to change A, just cha...

12 years ago | 0

| accepted

Answered
how to find maximum value of 2nd column of matrix 22x2?
[num idx]=max(A(:,2))

12 years ago | 0

| accepted

Answered
Can i use the gain block just like a function block?
You can't use a gain block as a function block, and what is the problem with generating an output for each sample, just pick th...

12 years ago | 0

Answered
problem in viewing MATLAB help documentation !
<http://www.mathworks.com/matlabcentral/answers/104025#answer_117295>

12 years ago | 0

Answered
how to change function to a normal script
Remove the if statement relative to nargin or nargout. And remove the header |function output=fcn(input)|

12 years ago | 0

| accepted

Answered
Help me about plot and linspace in matlab ?
It should be x = linspace(1,10,100); y = (2./x).^3; plot(x,y,'linewidth',4,'color','r')

12 years ago | 0

| accepted

Answered
how to create this plot
n=0:10 y=cos(pi./(3*n))+0.75*cos(2pi./(3*n) stem(n,y)

12 years ago | 0

Answered
Removing lines/rows containing 0.00... in the final column of a .txt file - MATLAB
A={ 'chrI' 1983 1983 0.000000 'chrI' 1984 1984 0.000000 'chrI' 1985 1985 0.000000 'chrI' 1992 1992 0.0000...

12 years ago | 0

Answered
how to find the average of an image set
v=0; n=numel(U); for k=1:numel(U) v=v+U{k}; end out=v/n; %or out=mean(reshape(cell2mat(U(:))',159,105,[]),3)'...

12 years ago | 0

| accepted

Answered
How do I create such matrix ? (please look at the thread for further details)
v=[10 50 200 1000] out=[v(1) diff(v)]

12 years ago | 0

Answered
How define a variable like pi in matlab?
create a function function out=cst1 out=0.12453648 then call the function cst1 a=cst1

12 years ago | 2

| accepted

Load more