Statistik
RANG
162
of 295.448
REPUTATION
698
BEITRÄGE
1 Frage
250 Antworten
ANTWORTZUSTIMMUNG
0.0%
ERHALTENE STIMMEN
113
RANG
of 20.227
REPUTATION
N/A
DURCHSCHNITTLICHE BEWERTUNG
0.00
BEITRÄGE
0 Dateien
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANG
of 153.872
BEITRÄGE
0 Probleme
0 Lösungen
PUNKTESTAND
0
ANZAHL DER ABZEICHEN
0
BEITRÄGE
0 Beiträge
BEITRÄGE
0 Öffentlich Kanäle
DURCHSCHNITTLICHE BEWERTUNG
BEITRÄGE
0 Highlights
DURCHSCHNITTLICHE ANZAHL DER LIKES
Feeds
Can someone help me with these 3D plots?
*you can plot these shapes in the following two ways(you can choose better way you like):* %% Seashell [u, v] = meshgrid...
fast 11 Jahre vor | 0
| akzeptiert
How can I draw a 3D-cylinder pile up by 2D-circles???
you can make a cylinder from piles as follow using *cylinder* in MATLAB: NumberOfPiles = 5; % Number of piles in cylinder ...
fast 11 Jahre vor | 0
delete null in matrix
do it like this: M=[ 0 0 0 7.9286 10.1000 14.3714]; M = M(M ~= 0)
fast 11 Jahre vor | 0
Problem using ezplot function
replace this: figure; hold on; ezplot(Vx,[t1 t2]); with ezplot(Vx,[t1 t2]), hold on It will keep the old plo...
fast 11 Jahre vor | 0
How to convert a matrix into a 3d matrix
here is an example to repeat a matrix N times in the 3rd dimension a = rand(10); % your matrix b = repmat(a, 1, 1, 5); %...
fast 11 Jahre vor | 3
| akzeptiert
pixel position and its value
try this: [Y, X] = ind2sub(size(b), find(ismember(b, 1))) here *b* is your image matrix. It gives you X and Y positions ...
fast 11 Jahre vor | 0
Passing Matrix using call by reference
Define you function as below: function y = myFunc(x) y = 2; end then try this in command window: x = 1; ...
fast 11 Jahre vor | 0
Will you please rectify the errors in the program?
Arti run this code and you will see the graph: Nde = 2.7*10^19; Nsdp = 1*10^20; lateralstraggle = 2*10^-9; seff = ...
fast 11 Jahre vor | 0
| akzeptiert
How to I include a structure value in a title?
mystruct=struct('val1',80); title(['Title for plot where struct value mystruct.val1 is equal to ', num2str(mystruct.val1)])...
fast 11 Jahre vor | 0
| akzeptiert
How create a interaction method to re-calculate a equation if a condition is not satisfied
try this: Tin=input('Input T'); D=5; t=0.362; E=2.9e07; ws=17.9148297590378; R=1448.88; alfa=1.96; h=R...
fast 11 Jahre vor | 0
| akzeptiert
How can I search through a row in a cell array to find strings?
Dear Justin, you can find the occurances of string 'DIRs' in cell array as follow: [~, ~, MyDATA] = xlsread('filename.xlsx'...
fast 11 Jahre vor | 0
Remove accent from struct
you can do it like this: names = {files.name}; str = {'Á', 'É', 'Í', 'Ó', 'Ú', 'á', 'é', 'í', 'ó', 'ú'}; strreplace =...
fast 11 Jahre vor | 2
| akzeptiert
Help plot with cell array scale problem
try this: x = [43.7347 43.7354 43.7368 43.7370 43.7371 43.7374 43.7373 43.7377 43.7383 43.7388 0 0 43.7403]; NGPSLongitu...
fast 11 Jahre vor | 0
| akzeptiert
Convert data to binary and ASCII format
You can do it as follow: a = [3 2 1; 1 2 3; 2 3 1]; dec2bin(a) % decimal to binary conversion b = double(num2str(a)) ...
fast 11 Jahre vor | 0
How to sort the matrix according to specific row?
you can do it as follow: For example you have your data in variable *A* then use following line to do it: A(16:16:end, :...
fast 11 Jahre vor | 0
| akzeptiert
loop to create the new matrix which contains the kron product
you can do it as follows: A = round(rand(3,3)*10-5); B = round(rand(3,3)*20-10); for i = 1:size(A, 1) for j = ...
fast 11 Jahre vor | 0
Using nested loops to solve kronecker product
you can do it as follows(if you have square matrices of same size): A = round(rand(10,10)*10-5); B = round(rand(10,10)*2...
fast 11 Jahre vor | 0
| akzeptiert
periodic function with n cycles
you can do it as follow: count = 1; for t = 0:pi/3:pi - pi/3 if mod(count, 2) == 1 x = linspace(t, t +...
fast 11 Jahre vor | 0
I have x and y data, How can I do linear fit to the data, find out c of linear fit line and slope with respect to y=m*x ?
If you are given values of x and y and both x and y hase same number of elements in them then you can compute m and c as follow:...
fast 11 Jahre vor | 3
Find the maximum value and its location from a matrix using two nested loops
you can do it as follow: MaxValue = -Inf; row = 0; column = 0; for i = 1:size(K, 1) for j = 1:size(K, 2) ...
fast 11 Jahre vor | 0
| akzeptiert
Issue in specifying input arguments for interp2 function
you can do it as follow: [x, y] = meshgrid(1:20); % Define x-y grid on which z values will be located z = randi([0 1], 2...
fast 11 Jahre vor | 0
How to fill a matrix with a condition?
try doing it like this: [x, y] = meshgrid(-35:.25:35); [phi, rho] = cart2pol(x, y); z = zeros(size(x)); z(rho <= 2...
fast 11 Jahre vor | 1
| akzeptiert
How to load files identified by the matlab function of "dir"?
you should read files like this: directoryString = 'YourDirectory'; files = dir(strcat(directoryString,'*.mat')); ...
fast 11 Jahre vor | 0
Algebric reconstruction technique in computed tomography
This technique is already implemented by someone which you can find in the following link: <http://www.mathworks.de/matlabcen...
fast 11 Jahre vor | 0
i want to draw 10 lines from x =0 till x=10 in 3d i tried but i wouldnt get my result any thoughts??
do need something like this: x = 1:10; y = 1:10; for i = 1:10 plot3(x, y, x + i), hold on end Is it corr...
fast 11 Jahre vor | 0
Please help me put this into a proper for loop, using increments
The part after ***************** can be written in loop as follow: DiyFi1OverRChanged= (M1 * rChanged) * dt / ( (b1^2+rChan...
fast 11 Jahre vor | 0
| akzeptiert
Plotting a function that is equal to 0.
One way to plot this equation is using 'ezplot' as follow: ezplot('0.651 - 0.728 * x - 0.552 * y - 0.006 * x * y - 0.071 * ...
fast 11 Jahre vor | 0
| akzeptiert
I am trying to draw a pyramid.
Dear Micheal, you don't need to use surf for this purpose just use fill. Below is your corrected code: function [] = pyrami...
fast 11 Jahre vor | 0
| akzeptiert
How to use the power operator in xlabel?
use xlabel as below: xlabel('A*R^(2/3) (m^(8/3))', 'Interpreter', 'none')
fast 11 Jahre vor | 3
| akzeptiert
convert Matlb files to DLL files
Dear Itai, Once I was also asked to do that as well and I did in the following way and worked for me quite well. You can find...
fast 11 Jahre vor | 1