답변 있음
Two problems
1) Matlab functions like sin and others only use radians, you can do the conversion radians=degrees*pi/180 2) That determin...

대략 15년 전 | 0

답변 있음
Searching image files with a particular keyword within a folder
FolderPath='C:\Users\PJMDS\Desktop\TesteFicheiros'; FileNames=dir(FolderPath); ContainStrings={'C11','G11'}; %insert here ...

대략 15년 전 | 0

답변 있음
for loop question
When you do things like this: NetOD_Redmean(e)= g(:,3)- k(:,3); You must ensure that you have enough "room" inside NetOD_Red...

대략 15년 전 | 0

답변 있음
Searching image files with a particular keyword within a folder
This code should work for MS Windows OS, it finds the files containing the string you specify and copies them to another directo...

대략 15년 전 | 1

답변 있음
A question about the function canocorr
take a look at the function edit canoncorr

대략 15년 전 | 0

답변 있음
[DISCONTINUED] Wish-list for MATLAB Answer sections.
People are still able to accept their own answers! <http://www.mathworks.com/matlabcentral/answers/2247-simulink-switching-for-a...

대략 15년 전 | 2

답변 있음
For loope small increments
It works fine here, try this m=1:.001:4; What's the first value of the vector m?

대략 15년 전 | 0

답변 있음
All Blocks Missing from Simulink Library Browser
http://www.mathworks.com/matlabcentral/answers/2782-simulink-library-browser-blocks-gone

대략 15년 전 | 0

답변 있음
Linear Scale of a Frequency Response Plot (freqz) - Digital Filter
clf freqz([1],[-1 -2]); %example values ax=get(gcf,'Children'); %get the axes handles li=get(ax(1),'Children'); %get the...

대략 15년 전 | 0

| 수락됨

답변 있음
How do I find non-consecutive zero entries?
Here's my messy code, Walter's solution is better and I also had the first value problem, I ignored the first value. input=...

대략 15년 전 | 1

답변 있음
plot Low pass filter chebychev type 1 and 2
If you have the Filter Design Toolbox™ you can use the cheby1 and cheby2 functions to do the plotting.

대략 15년 전 | 0

| 수락됨

답변 있음
Orient Xticklables at 90 degrees
Take a look at <http://www.mathworks.com/matlabcentral/fileexchange/3486-xticklabelrotate xticklabelrotate>

대략 15년 전 | 1

| 수락됨

답변 있음
How to find a surface area for any plotted wave
doc trapz doc cumtrapz

대략 15년 전 | 1

| 수락됨

답변 있음
extracting data series from *.fig file
open data.fig %open your fig file, data is the name I gave to my file D=get(gca,'Children'); %get the handle of the line obj...

대략 15년 전 | 10

| 수락됨

답변 있음
SIMULINK AND ARDUINO. PLEASE HELP!
Use a Mux block before connecting to the scope

대략 15년 전 | 0

답변 있음
Error when setting a simulink block parameter
If you want to put the value inside the variable orient in your Constant block you should do: set_param('mdl0_exp/Constant...

대략 15년 전 | 1

답변 있음
Need help in evaluating integral with quad
Just a dot missing from the second line, before *sin theta=0.01:0.1:2*pi-0.01; f=@(x,th)(exp(-0.5*x).*sin(x*2*sin((th)/...

대략 15년 전 | 1

| 수락됨

답변 있음
How to embed Simulink Object Scope into gui?
You can't embed the simulink scope but you can use this <http://www.mathworks.com/matlabcentral/fileexchange/24294 Simulink Sign...

대략 15년 전 | 0

답변 있음
Open file .mdl
urlwrite('http://ecee.colorado.edu/~ecen2060/materials/simulink/PV/pv_characteristic.mdl','pv_characteristic.mdl') %get the mo...

대략 15년 전 | 2

| 수락됨

답변 있음
Importing Continuous data into Simulink from Matlab Workspace
Try with the Matlab fcn block, if the variable is just a number you just need to put the name of the variable, if it's something...

대략 15년 전 | 0

답변 있음
Ouputting for loop into a matrix
y=zeros(1,30); i=[0.1:0.1:3]; j=[0.1:0.1:3]; for pos=1:numel(i) y(pos)=simulator([i(pos) j(pos)]) end fprintf...

대략 15년 전 | 0

답변 있음
Controlling output from Simulink
Try with the matlab Fcn block out=u(1) %or out=u It will put the value in the block input to the variable out in the mat...

대략 15년 전 | 0

답변 있음
1-phase PLL in Simulink PowerSystems blockset by Pierre Giroux
Click with the mouse right button on the pll block and select Look Under Mask, that will open the subsystem, that will surely gi...

대략 15년 전 | 0

답변 있음
Bodeplot a transfer function around resonant frequency (with zero damp)
tfuc=tf([200 1 2.842e007],[1 0 1e6]); v=logspace(2,4,10000); bode(tfuc,v) It was indeed related to the frequency step...

대략 15년 전 | 0

| 수락됨

답변 있음
Use while loops for a function to keep asking for inputs, until an invalid input is entered
y=inline('log(1/(1-x))'); while 1 x=input('Please input an x-value < 1 ->'); if x>=1, break, end fprintf('...

대략 15년 전 | 0

답변 있음
Finding indices in matrix with find() function
You are using the find function in two matrices at the same time, that's not a good idea [row column]=find(LUTi==0) ...

대략 15년 전 | 0

답변 있음
excel and plot
x(1:200) %all data from column 1 to 200 hold on %this will allow more lines on the same axes The last question I don't...

대략 15년 전 | 0

답변 있음
programming simulink blocks
<http://www.mathworks.com/help/toolbox/simulink/ug/bq6muoa.html Tutorial: Creating a Custom Block>

대략 15년 전 | 0

답변 있음
serial data & real time plot
while 2>1 % infinite loop you can do it better while 1 %same as while 2>1 Now for the plotting, first create a line ...

대략 15년 전 | 0

답변 있음
switch-case interaction with uigetfile
Your code is working without any problems in matlab 2008b.

대략 15년 전 | 0

더 보기