Feeds
已回答
change value of inline function during loop for a string function
According to your definitions of fp and f, q and x are the input arguments to these two inline functions. To compute the functio...
change value of inline function during loop for a string function
According to your definitions of fp and f, q and x are the input arguments to these two inline functions. To compute the functio...
10 years 前 | 0
已回答
combining matrix rows with repeated elements
If I understand it correctly, you are trying to cluster the vertices in a graph into different groups according to whether they ...
combining matrix rows with repeated elements
If I understand it correctly, you are trying to cluster the vertices in a graph into different groups according to whether they ...
10 years 前 | 0
已回答
How to include a spline interpolant in simulink as a function into a block?
1-D Lookup Table block in the Lookup Tables may be what you are looking for. After you open the block parameters dialogue, un...
How to include a spline interpolant in simulink as a function into a block?
1-D Lookup Table block in the Lookup Tables may be what you are looking for. After you open the block parameters dialogue, un...
10 years 前 | 2
| 已接受
已回答
How can I vectorize this loop?
Please try the following code to see if it gives you the same result as your code. ARP = (1/m)*A'*B;
How can I vectorize this loop?
Please try the following code to see if it gives you the same result as your code. ARP = (1/m)*A'*B;
10 years 前 | 0
| 已接受
已回答
How to interpolate the pixel resolution
Please try the following code after you create the new_x_axis and new_y_axis. [x_mesh,y_mesh] = meshgrid(x_axis,y_axis);...
How to interpolate the pixel resolution
Please try the following code after you create the new_x_axis and new_y_axis. [x_mesh,y_mesh] = meshgrid(x_axis,y_axis);...
10 years 前 | 0
| 已接受
已回答
fminbnd with function that takes multiple inputs
Given the function vf2 you defined, you can try the following code to find the minimum value of the function vf2 in the interval...
fminbnd with function that takes multiple inputs
Given the function vf2 you defined, you can try the following code to find the minimum value of the function vf2 in the interval...
10 years 前 | 3
已回答
Exist returning zero when file definitely exists; rehash not working
To find out if there is any JPEG file in the Directory folder, you can use the wildcard character as follows. isempty(dir([...
Exist returning zero when file definitely exists; rehash not working
To find out if there is any JPEG file in the Directory folder, you can use the wildcard character as follows. isempty(dir([...
10 years 前 | 1
| 已接受
已回答
Plot - Problems with background colour
I want to clarify that you can execute the following command before you save the figure so that it can be saved as it is display...
Plot - Problems with background colour
I want to clarify that you can execute the following command before you save the figure so that it can be saved as it is display...
10 years 前 | 0
已回答
why the first and second differential is not right after interpolation
Please use the following command to generate the interpolated data. y2 = interp1(t1,y1,t2,'spline'); Using the "spline" ...
why the first and second differential is not right after interpolation
Please use the following command to generate the interpolated data. y2 = interp1(t1,y1,t2,'spline'); Using the "spline" ...
10 years 前 | 0
| 已接受
已回答
Intersection of 3 circles with chords present, and arcs removed
Please try executing the attached code to see if it generates the result you need. Generally, you first need to compute the c...
Intersection of 3 circles with chords present, and arcs removed
Please try executing the attached code to see if it generates the result you need. Generally, you first need to compute the c...
10 years 前 | 0
已回答
Plot - Problems with background colour
Please execute the following command before you save the figure in the PNG format. set(gcf, 'InvertHardcopy', 'off'); Th...
Plot - Problems with background colour
Please execute the following command before you save the figure in the PNG format. set(gcf, 'InvertHardcopy', 'off'); Th...
10 years 前 | 2
已回答
Calculations in table based on variable names
You can try the following. First, define a function in a file named func.m that contains the code below. function [air_out,...
Calculations in table based on variable names
You can try the following. First, define a function in a file named func.m that contains the code below. function [air_out,...
10 years 前 | 0
已回答
How to tell whether or not 5 or more lines intersect
After you generate the circle centers and their radii, you can run the following code to find the indices of the iterations that...
How to tell whether or not 5 or more lines intersect
After you generate the circle centers and their radii, you can run the following code to find the indices of the iterations that...
10 years 前 | 1
| 已接受