Answered
Is it possible that Matlab figure save as Autocad file .dwg file?
I don't think it's possible, I've already looked for something like that (how to read an autocad file in matlab, with all object...

14 years ago | 0

Answered
[DISCONTINUED] MATLAB Answers Wish-list #2 (and bug reports)
I wish to have a matlab answers website on my cell phone (a mobile version)

14 years ago | 0

Answered
How to generate a binary sequence in simulink?
Use a *random number* block from *simulink/sources* and a *compare to Constant* block (with value set to <=0.5) from *simulink/L...

14 years ago | 0

| accepted

Answered
How can I make a bar graph using a cell array of strings?
y=1:4 bar(y) set(gca,'XtickLabel',{'one','two','three','four'})

14 years ago | 2

Answered
GUIDE Static Text - Right Align Cuts Off Text
Increase the size of your edit text box pos=get(handles.edit1,'position') pos(3)=pos(3)+10 % you will increase just the w...

14 years ago | 0

Answered
how can i check if n2 is a sub number of n1? (HW qst.)
n1=12456; n2=245 a=num2str(n1); b=num2str(n2); c=all(ismember(b,a)) if c is equal to 1 that means n2 is a sub number of...

14 years ago | 0

Answered
how can i compute the length of an integer?
int=-123456789 max(ceil(log10(abs(int))),1)

14 years ago | 1

| accepted

Answered
Importing multiple .txt files containting single colums of numerical data
for k=1:100 data{k}=dlmread(sprintf('test_%d.txt',k)) end

14 years ago | 1

Answered
How to convert 1D binary data matrix to 2D image matrix?
[ii,jj]=find(ones(256,256)); a=randi(2,256,256,8)-1; b=cell2mat(arrayfun(@(x,y) a(x,y,1:8),ii,jj,'un',0)' ); out=bin2dec(n...

14 years ago | 0

Answered
probplot and hold on
x1 = wblrnd(3,3,100,1); x2 = raylrnd(3,100,1); x3 = raylrnd(3,100,1); probplot('weibull',[x1 x2 x3])

14 years ago | 1

| accepted

Answered
display a message in a message box
Maybe is that what you want msgbox(sprintf('Disease identified as %d',1)); or DiseaseIdentified='cancer' msgbox(...

14 years ago | 0

Answered
Save real numbers (with decimals) in a loop into vector.
ii=0.1:0.5; counter=1:numel(ii) y(counter)=ii*rand

14 years ago | 0

| accepted

Answered
COMPARE NEXT VALUE WITH PREVIOUS VALUE
You can use the *unit delay* block as well *the memory block*. Your problem is maybe the settings of these blocks, particularly ...

14 years ago | 0

Answered
Saving data in a loop into a vector (values are not integers)
If you want to put several numbers in one vector then create a counter ii=0 for s=0::0.1:2 ii=ii+1 y(ii)=s end

14 years ago | 1

| accepted

Answered
Why do i get this error about cell arrays?
a=10 a{1}=1 % will give an error % to avoid error clear a a{1}=1

14 years ago | 0

| accepted

Answered
is it possible to save a "compiled" routine from Matlab that will run under Windows
Yes you can, but you have to add to a package mcr installer. The mcr will be installed in users machine.

14 years ago | 0

Answered
Possible to use string variable in plot title?
titlename='my plot' title(titlename)

14 years ago | 1

| accepted

Answered
Deploytool in matlab 2012b
Check if Matlab compiler is installed, type ver

14 years ago | 0

| accepted

Answered
how to get and use transmission from unkown LTI system
What you are trying to do is identifying your transfer function, and using an impulse response, I don't think it's a good idea. ...

14 years ago | 0

Answered
How can i get a smooth curve for a singly curved shell ,surface plot for a 4*4 mesh.I cannot increase the mesh size.
x=reshape(X,5,[]) y=reshape(Y,5,[]) z=reshape(Z,5,[]) mesh(X,Y,Z)

14 years ago | 0

Answered
How to get current time of simulation while Model is executing.
You can use a *clock* block from *simulink/sources* with *math function* block (set to *mod*) and a *constant* block. <<http:...

14 years ago | 5

Answered
how can i get a matrix from an array like this:
a = [12 21 32 42]; n=length(a) M=a for k=1:n-1 c=a(1) a(1:end-1)=a(2:end) a(end)=c M=[M;a] end

14 years ago | 0

| accepted

Answered
how can i get a matrix from an array like this:
M=[a ;circshift(a,[0 -1]); circshift(a,[0 -2])] %or more general a=[12 21 32 42 52] M=cell2mat(arrayfun(@(x) circshif...

14 years ago | 0

Answered
save string in matfile
text={t1; t2; t3; t4}; save Matfiletext text %You can't concatenate vertically t1 and t2, because their size are different...

14 years ago | 1

| accepted

Answered
how to delete mat file
Try this a=1:10; save('fp_database','a') delete('fp_database.mat') clear load('fp_database') a

14 years ago | 0

Answered
How to: Vary the variable name
for k=1:3 Minimum1=str2double(get(handles.MIN_Input1,'String')); Maximum1=str2double(get(handles.MAX_Input1,'String')...

14 years ago | 0

| accepted

Answered
How to convert innduction maschine model made in Simulink to SimpowerSystem
If the model you want to change is available in SimpowerSystem, you can do it. You have to add some measurment tools to connect ...

14 years ago | 0

| accepted

Answered
How can I force Simulink to use a set of data (time depended) as input?
I don't think you can do it with xlsread function in 0.005 sec, plus the time of simulation which depends on the complexity of y...

14 years ago | 1

| accepted

Answered
formatting axes for a plot
Add to your code set(gca,'xlim',[0 6])

14 years ago | 1

Answered
using textscan to load numbers from txt file
Your answer is correct. Maybe its displaying something like ans = 1.0e+03 * 8.1504 8.2845 8.4253 ...

14 years ago | 0

| accepted

Load more