Respondida
i need a wind input from simscape
<http://in.mathworks.com/matlabcentral/fileexchange/25752-wind-turbine-model Wind Turbine Model> <http://in.mathworks.com/help/p...

más de 8 años hace | 0

| aceptada

Respondida
can you explain this code?
croped = [];%empty matrix created croped = i(10:end-10,10:end-10) ;% we going to crop first 10 rows and and 10 columns of t...

más de 8 años hace | 0

Respondida
when i push a button i want to load image on axes in GUI. so i tried this.
Refer the example file attached

más de 8 años hace | 0

Respondida
Plot Variables of many .m files in Main.m file
* You have to create each m file as function <http://in.mathworks.com/help/matlab/matlab_prog/create-functions-in-files.html Cr...

más de 8 años hace | 0

| aceptada

Respondida
How to convert images from jpg to MetaImage file format?
<http://www.mathworks.com/matlabcentral/fileexchange/41594-medical-image-processing-toolbox/content/MedicalImageProcessingToolbo...

más de 8 años hace | 1

Respondida
Is there a manner to simulate just a part in simulink model
* Just comment the unnecessary parts in the model(select the blocks and click Ctrl+Shift+X ) * Now run the simulation

más de 8 años hace | 1

Respondida
Legend in a for loop.
<http://in.mathworks.com/matlabcentral/answers/29799-adding-a-legend-and-different-coloured-lines-in-a-for-loop Adding a legend ...

más de 8 años hace | 1

Respondida
Show scope value directly on block in simulink
* In the attached image the block used for show the current value is not scope.Which is called *display*

más de 8 años hace | 0

Respondida
Running a while loop in a for loop
t1 = 0; while(x~=100) v1=a*b*t1; G=v1/t1; v2=v1-p1/G; t2=v2/G; x=G*t2*a; t1=t1+1; ...

más de 8 años hace | 0

Respondida
hi sir how to find the mean for color image ?
A = imread('ngc6543a.jpg');%Input image M = mean2(A)%mean for color image

más de 8 años hace | 0

Respondida
How to segment black pixels from a colour image?
<http://www.mathworks.com/matlabcentral/answers/16350-how-to-remove-pixels-in-an-image remove pixels in an image>

más de 8 años hace | 0

Respondida
Please, can any one explain to me these two questions:
# k normally represents 1000 # Here possibly you have 20,000 images # Each image has to undergo some calculation # Initially ...

más de 8 años hace | 0

| aceptada

Respondida
how to find energy of a 2D image
<http://www.mathworks.com/matlabcentral/answers/114626-how-to-find-energy-of-the-image energy of a 2D image>

más de 8 años hace | 1

Respondida
How can i run the given code on my example
# Create a New 'm' file (e.g main.m) # Define f(x),X0 in main file # Now call the function steep from your main file (main.m...

más de 8 años hace | 0

Respondida
[Simscape] How can I connect Elements from the Foundation Library with Elements from SimMechanics Gen 2?
* Type 'ssc_mechanical_system_translational_hardstop' in your command window and hit Enter * This Example file has the interf...

más de 8 años hace | 0

| aceptada

Respondida
Problem with spectrum analyzer block
<</matlabcentral/answers/uploaded_files/45067/spectrum.jpg>> * Adjust settings by clicking on spectrum analyzer block * refe...

más de 8 años hace | 0

Respondida
Simulink model in real-time
<http://in.mathworks.com/matlabcentral/linkexchange/links/2041-real-time-control-platform-for-matlab-and-simulink-dc-motor-contr...

más de 8 años hace | 0

Respondida
How to get the exact value in final result
from the complex result (0.685577670878144 - 4.31922663726209e-253i) you can extract the real value by real(0.685577670878...

más de 8 años hace | 0

Respondida
What does this code Mean?
<http://in.mathworks.com/help/images/ref/imadjust.html#bujj0fe-1 refer here>

más de 8 años hace | 0

Respondida
Error while setting LineWidth of Axes
set(gca, 'LineWidth', 2)

más de 8 años hace | 0

Pregunta


how to start xlim from 2 rather than 1
a = rand(1,33); bar(a(2:33)) <</matlabcentral/answers/uploaded_files/44286/barchart.jpg>> Now i need xlimit for each...

más de 8 años hace | 1 respuesta | 0

1

respuesta

Respondida
copying multiple images from one folder to other folder
clear all clc M_dir = 'D:\ second_folders'% source directory D_dir = 'D:\ master_folder' files = dir(M_dir);% ...

más de 8 años hace | 0

| aceptada

Respondida
how can I reduce the execution time of the given code?
by adding ';' at end of the each command in the feature extraction part you can reduce the execution time to less than 5 minutes...

más de 8 años hace | 2

Pregunta


update date and time in gui
function demo1() H.f = figure('Name','DEMO1'); set(H.f,'Units','Pixels','Position',get(0,'ScreenSize'));% adjust...

más de 8 años hace | 1 respuesta | 0

1

respuesta

Respondida
Removing a bunch of elements from a 1-D vector?
x = [1:1000]; gap = 10;%no of elements to be deleted y = [min(x):gap+1:max(x)]

más de 8 años hace | 0

Respondida
How can i access to a xlsx file including both numbers and string to process data ?
[num,txt,raw] = xlsread('file.xls') here you have 3 names 1.num-->numeric data in a matrix. 2.txt-->text fields in cell...

más de 8 años hace | 0

| aceptada

Respondida
How to find maximum value from different array in spesific dimension
s1{:} = rand(3)% cell 1 s2{:} = rand(3)% cell 2 data = [s1{:};s2{:}] %combining both cell data Result = max(data)

más de 8 años hace | 0

Respondida
Changing the names of huge amount of text files?
files = dir('*.txt'); for id = 1:length(files) [~,old_name] = fileparts(files(id).name); digit_index = regexp...

más de 8 años hace | 0

Respondida
I have dna sequence (AGCTAGCTACGT) as my data set, how can I import data into matlab ?
<http://in.mathworks.com/matlabcentral/answers/29453-how-to-separate-this-dna-sequence working with DNA sequence>, <http://in.ma...

más de 8 años hace | 0

Cargar más