matlab tag

28 questions


1 answers
61 views
0
Matlab matlab textscan data separator question.(Crying)

Here's the code we did to read it.pth = './likelihood/';fn = 'Udo_2015-01_2015-12.txt';fid = fopen(fn,'r');C = importdata(fn);hdr = split(C(6),'\t');fmt = repmat('%s', [1 length(hdr)]);D = textscan(fi...

1 years ago

1 answers
64 views
0
I have a question in the process of loading data that contains letters and numbers

Just in case, this is the address where I posted the data.http://blog.daum.net/rladudqh123/431If you bring it to the list and bring data mixed with letters and numbers, it is more than 7,000 pieces, w...

1 years ago

2 answers
62 views
0
To express Matlab 3D matrix in Python

# Matlab f = zeros(984,17,10); # (x,y,z) a = squeeze(f(1,:,:)); >> size(a) is (17,10) # Python f = np.zeros((10, 984, 17)); #(z,x,y) a = np.squeze(f[:,1,:]); >> a.shape is (10,17) As we tr...

1 years ago

1 answers
85 views
0
% question in matlab for statement.

I'm looking at the example of that gunfirePython is fori in range (19) I wrote it like thisMatte wrap is fori = 1:19I have a question. Among Matlab examples for i = 1%:100Or for i = 3%:100Looking at t...

1 years ago

1 answers
73 views
0
I'd like to ask you a question about making a CSV by conducting a matlab concert

Let's set the data variable station = cell, header = char, data = doublestation = {'st';,'qe';,'qr';}header = ('where QE QR');data = [10 15;20 25;30 35;]To tie it with data2, I made it into a cell typ...

1 years ago

1 answers
80 views
0
Solution of Matlab Nonlinear Convex Equations with syms Function

Create a function using syms and use that function You are trying to solve a non-linear simultaneous equation.A function made of syms is converted into an anonymous function using matlabFunction We tr...

1 years ago

1 answers
71 views
0
To merge matlab matrix horzcat

There are 10 matrices from z to z10, as shown in the image.Simply put, zhorzcat = [z z2 z3 z4 z5 z6 z7 z8 z9 z10];It's going to be 11x10.What I'm curious about here is that assuming there are 100 matr...

1 years ago

1 answers
63 views
0
Electrical dipole isostatic, electric field wire Matlab code questions

I'm a student in electrical engineering!The distribution graph of the isotropotential and electric field lines generated by the electrical dipole, as shown in the picture below I want to implement it ...

1 years ago
« - 3 -

© 2024 OneMinuteCode. All rights reserved.