Marta Salas
2014년부터 활동
Followers: 0 Following: 0
Feeds
문제를 풀었습니다
Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...
10년 초과 전
문제를 풀었습니다
Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...
10년 초과 전
답변 있음
Plotting equation as a function
k=0.4; alpha=0.5; tau=50; h=30; % Define the values within the interval for gamma minValue = 2*h/pi; maxValue = ...
Plotting equation as a function
k=0.4; alpha=0.5; tau=50; h=30; % Define the values within the interval for gamma minValue = 2*h/pi; maxValue = ...
거의 11년 전 | 1
| 수락됨
답변 있음
can anybody help in understanding fopen and fread?
The file identifier is a integer greater than 3. Identifier -1 means fopen can not open the file, and MATLAB reserves file ident...
can anybody help in understanding fopen and fread?
The file identifier is a integer greater than 3. Identifier -1 means fopen can not open the file, and MATLAB reserves file ident...
11년 초과 전 | 0
답변 있음
How to get all possible arrangements for n=10 and more
http://www.mathworks.com/help/matlab/ref/perms.html [Limitations: perms(v) is practical when length(v) is less than about 10.] ...
How to get all possible arrangements for n=10 and more
http://www.mathworks.com/help/matlab/ref/perms.html [Limitations: perms(v) is practical when length(v) is less than about 10.] ...
11년 초과 전 | 0
답변 있음
Error: Unexpected MATLAB expression. SYNTAX ERROR?!
You need to checked carefully what you have written in the definition of G, I have spotted some * missing, there is also a missi...
Error: Unexpected MATLAB expression. SYNTAX ERROR?!
You need to checked carefully what you have written in the definition of G, I have spotted some * missing, there is also a missi...
11년 초과 전 | 1
| 수락됨
답변 있음
How to join two codes of images?
In order to not copy manually the coordinates of your ROI, you have to keep them on a variable and return the variable as an out...
How to join two codes of images?
In order to not copy manually the coordinates of your ROI, you have to keep them on a variable and return the variable as an out...
11년 초과 전 | 0
| 수락됨
답변 있음
Segmentation fault when printing images with transparency and -nodisplay option
I'm answering my own question, just in case someone else run into this problem (although it's improbable). The purpose of runnin...
Segmentation fault when printing images with transparency and -nodisplay option
I'm answering my own question, just in case someone else run into this problem (although it's improbable). The purpose of runnin...
11년 초과 전 | 1
| 수락됨
답변 있음
How to draw a figure?
you can try surf or mesh: <http://www.mathworks.es/es/help/matlab/learn_matlab/creating-mesh-and-surface-plots.html>
How to draw a figure?
you can try surf or mesh: <http://www.mathworks.es/es/help/matlab/learn_matlab/creating-mesh-and-surface-plots.html>
11년 초과 전 | 0
답변 있음
Operands to the || and && operators must be convertible to logical scalar values.
_find_ returns the indexes of the values that holds the condition 5.2=< x >=8.50 index = find(x>=5.2 & x<=8.50) To know...
Operands to the || and && operators must be convertible to logical scalar values.
_find_ returns the indexes of the values that holds the condition 5.2=< x >=8.50 index = find(x>=5.2 & x<=8.50) To know...
11년 초과 전 | 1
답변 있음
Need help with 3D surface plot of complex function
*s* is a complex number and so it's F(s) (*z* in your code). This is why the problem ask you to plot the magnitude of F(s) which...
Need help with 3D surface plot of complex function
*s* is a complex number and so it's F(s) (*z* in your code). This is why the problem ask you to plot the magnitude of F(s) which...
11년 초과 전 | 0
질문
Segmentation fault when printing images with transparency and -nodisplay option
I'm running MATLAB 2012a on Linux's command line with -nodisplay option. When I run my code I get a segmentation fault. The foll...
11년 초과 전 | 답변 수: 1 | 1
1
답변답변 있음
Any alternative to kmeans functions for image processing toolbox?
Piotr's toolbox contains a kmeans function (folder classify: *kmeans2*). It's open source, you can download it from this link: h...
Any alternative to kmeans functions for image processing toolbox?
Piotr's toolbox contains a kmeans function (folder classify: *kmeans2*). It's open source, you can download it from this link: h...
11년 초과 전 | 0
답변 있음
Inserting Color Map value in an image
You can copy the code you are using to be able to help you. You can also try this function: function make_video(video_dir...
Inserting Color Map value in an image
You can copy the code you are using to be able to help you. You can also try this function: function make_video(video_dir...
11년 초과 전 | 0
답변 있음
The script will read in image files (jpg) into a “cell” array then display them
have you look at the functions _imread_ and _imshow_ ?
The script will read in image files (jpg) into a “cell” array then display them
have you look at the functions _imread_ and _imshow_ ?
11년 초과 전 | 0
답변 있음
intersection of two triangles
% this define the vertexes (x,y) of first triangle trian1x =[ 0 0.5 1 0]; trian1y =[ 0 1 0 0]; % this d...
intersection of two triangles
% this define the vertexes (x,y) of first triangle trian1x =[ 0 0.5 1 0]; trian1y =[ 0 1 0 0]; % this d...
11년 초과 전 | 3
| 수락됨
답변 있음
How to write multiple txt files from workspace matrix?
X= 1:size(My_matrix,1); for it=1:size(My_matrix,2) filename = ['Mytext' num2str(it) '.txt']; data = [X' My_m...
How to write multiple txt files from workspace matrix?
X= 1:size(My_matrix,1); for it=1:size(My_matrix,2) filename = ['Mytext' num2str(it) '.txt']; data = [X' My_m...
11년 초과 전 | 2
| 수락됨
답변 있음
Function to evaluate arguments using pol2cart
As arguments for your function you have to write the name of the variable: function x = Carlos_Virguez_Ex14(r,angle) No...
Function to evaluate arguments using pol2cart
As arguments for your function you have to write the name of the variable: function x = Carlos_Virguez_Ex14(r,angle) No...
11년 초과 전 | 0
답변 있음
Problem in Plotting graph.
p=120000; t=288; dax=0.1; m=150; r=287; cp=1004; row=1.45; v=50:300; dvx=-0.145*v./(0.145+(0....
Problem in Plotting graph.
p=120000; t=288; dax=0.1; m=150; r=287; cp=1004; row=1.45; v=50:300; dvx=-0.145*v./(0.145+(0....
11년 초과 전 | 0
| 수락됨
답변 있음
How to rename images from a series of folder
mainDirectory = 'C:\Users\md\Desktop\NewFolder'; subDirectory = dir([mainDirectory '/N*']); for m = 1 : length(s...
How to rename images from a series of folder
mainDirectory = 'C:\Users\md\Desktop\NewFolder'; subDirectory = dir([mainDirectory '/N*']); for m = 1 : length(s...
11년 초과 전 | 1
| 수락됨
답변 있음
element wise sum in array
You have to use a dot in front of the operation: *.** *.^* to mean element-wise operation in matlab t = [20 30 22 32 10 1...
element wise sum in array
You have to use a dot in front of the operation: *.** *.^* to mean element-wise operation in matlab t = [20 30 22 32 10 1...
11년 초과 전 | 0
| 수락됨
답변 있음
using predefined string for savefig
fileparams = ['50psi_10A_Sawtooth_05Hz'] filename = [fileparams '.fig'] print(filename)
using predefined string for savefig
fileparams = ['50psi_10A_Sawtooth_05Hz'] filename = [fileparams '.fig'] print(filename)
11년 초과 전 | 1
| 수락됨
답변 있음
How can I shading plot?
Color is defined as a vector of 3 values: RGB. When you select 'g' on you plots this vector is [0 1 0]. 'r' is [1 0 0] or 'b' is...
How can I shading plot?
Color is defined as a vector of 3 values: RGB. When you select 'g' on you plots this vector is [0 1 0]. 'r' is [1 0 0] or 'b' is...
11년 초과 전 | 0
| 수락됨
답변 있음
Save values in the middle of a loop
You could save them as mat files http://www.mathworks.es/es/help/matlab/ref/save.html
Save values in the middle of a loop
You could save them as mat files http://www.mathworks.es/es/help/matlab/ref/save.html
11년 초과 전 | 0
| 수락됨
답변 있음
comando stem en guide
Maybe this helps: http://www.mathworks.com/matlabcentral/answers/102384-how-do-i-make-my-gui-plot-into-an-axes-within-the-gu...
comando stem en guide
Maybe this helps: http://www.mathworks.com/matlabcentral/answers/102384-how-do-i-make-my-gui-plot-into-an-axes-within-the-gu...
11년 초과 전 | 0
답변 있음
Joining jpg files to make a video
I use MATLAB2012a, you can try if this function works for you. The input arguments are: the path to the images (vide_dir), exten...
Joining jpg files to make a video
I use MATLAB2012a, you can try if this function works for you. The input arguments are: the path to the images (vide_dir), exten...
11년 초과 전 | 1
| 수락됨
답변 있음
Please provide me a matlab source code for running number of files in a loop.
video_dir = 'snaps/' extension = 'jpg' out_dir = 'video/' resnames=dir(fullfile(video_dirs,['*.' extensio...
Please provide me a matlab source code for running number of files in a loop.
video_dir = 'snaps/' extension = 'jpg' out_dir = 'video/' resnames=dir(fullfile(video_dirs,['*.' extensio...
11년 초과 전 | 0
| 수락됨
답변 있음
how to display the clustered values which are clustered using k means clustering?
There is an example on how to plot the clusters and the cluster centroids here: http://www.mathworks.es/es/help/stats/kmeans.htm...
how to display the clustered values which are clustered using k means clustering?
There is an example on how to plot the clusters and the cluster centroids here: http://www.mathworks.es/es/help/stats/kmeans.htm...
11년 초과 전 | 0
답변 있음
Create two vectors X and Y of values from (-pi) to pi with a spacing of pi/10. Define the vector Z as: Z = (sin(sqrt(x^2+y^2)))/(sqrt(x^2+y^2))
[x,y] = meshgrid(-pi:pi/10:pi) z = (sin(sqrt(x.^2+y.^2)))./(sqrt(x.^2+y.^2)) mesh(x,y,z)
Create two vectors X and Y of values from (-pi) to pi with a spacing of pi/10. Define the vector Z as: Z = (sin(sqrt(x^2+y^2)))/(sqrt(x^2+y^2))
[x,y] = meshgrid(-pi:pi/10:pi) z = (sin(sqrt(x.^2+y.^2)))./(sqrt(x.^2+y.^2)) mesh(x,y,z)
11년 초과 전 | 0


