Community Profile

# Aknur

Last seen: 1 giorno fa Attivo dal 2022

All

#### Content Feed

Visto da

Domanda

How can I set a variable that will be initial, and I can call it when necessary without changing it. And still this variable will be in for I:k?
Hello! Kindly ask how I can fix the initial value of Phi0. And another value of Phi0 (or should I rename it) will be reset i...

13 giorni fa | 0 risposte | 0

### 0

risposte

Domanda

How I can continue vector if I know two points of vector and direction vector?
Hello everyone! Kindly ask if I have two points of vector A( X0, Y0, Z0) and B(Xr, Yr, Zr). And I plotted vector in a 3d cube. H...

27 giorni fa | 1 risposta | 0

### 1

risposta

Domanda

Hi! How I can write condition "If, else if" for repeated value of variable ?
Hello! Kindly ask about variables and condition. I have two variables plane00, and plane01. In some cases they can be parallel, ...

circa un mese fa | 1 risposta | 0

### 1

risposta

Domanda

Hello, why Matlab does not check for second condition and give an answer without checking second condition after AND short circuit operator?
Hello everyone! Kindly ask help in if statement. If I want to write.. if plane00 ==plane1 OR plane00==plane3 AND plane01==pl...

circa 2 mesi fa | 1 risposta | 0

### 1

risposta

Domanda

Hello! How to define on which plane lies a given point with coordinates? I have coordinates of plane and normal
Hello everyone. I undertsand it might be very simple question, but I could not solve it. I have point for example A(1.5, 1.5, 3....

circa 2 mesi fa | 2 risposte | 0

### 2

risposte

Domanda

How I can check if planes are parallel to each other in 3d?
Dear all kindly ask how I can check if any of these six planes of cube are parallel to each other, and which planes are adjacent...

circa 2 mesi fa | 1 risposta | 0

### 1

risposta

Domanda

How to define for which plane lies a given point with coordinates?
Hello! Kindly ask about how to find in which plane lies point A(x, y, z), example A(1.5, 1.5, 3.0) and I have planes pl...

circa 2 mesi fa | 1 risposta | 0

### 1

risposta

Domanda

How I can fix my problem when I add a function to the main script within for loop and run iteration was made with an error?
Hello! Kindly ask help in function and running through main script I wanted to combine all. I have one function which is 'plan...

2 mesi fa | 1 risposta | 0

### 1

risposta

Domanda

Why if statement with odd and even number does not work in function and just skipped condition?
Hello everyone! Does someone know why this code if mod(plane,2) == 0 %even ThetaBar = Theta0; fprintf('The...

2 mesi fa | 1 risposta | 0

### 1

risposta

Domanda

How I can add For loop inside of if statement ?
Hello everyone! Kindly ask how I can make for loop inside of if statement. If it is allowed to do in that order. for example ...

3 mesi fa | 0 risposte | 0

### 0

risposte

Domanda

How I can define/ calculate reflection of the ray correctly? As my reflection makes mistake in direction
Hello, everyone. Kinsly ask about advice or suggestion about how to find reflection of incidence ray and plot it How I can make...

3 mesi fa | 1 risposta | 0

### 1

risposta

Domanda

Hello! How I can use output data from one function as an input for another. And write it in one function
Hi! Kindly ask to check where I did mistake . I am trying to use output data [A, B, C, D, E] from another function reflection5 (...

3 mesi fa | 0 risposte | 0

### 0

risposte

Domanda

How to index variables in two combined function for overwriting data

3 mesi fa | 1 risposta | 0

### 1

risposta

Domanda

Hi! How I can extract specific data
Hello everyone! Kindly ask help in clear data using indexing or other different methods. Appreciate any help At the end I got ...

3 mesi fa | 1 risposta | 0

### 1

risposta

Domanda

How to find Intersection point of plane and vector/line in 3d
Hello! Could you please help me why my fucntion does not calculate intersection point I. It gaves me my initial X0, Y0, Z0 coord...

3 mesi fa | 1 risposta | 0

### 1

risposta

Domanda

How I can find intersection point of direction vector and one of the given plane of 3d cube
Hello everyone! Kindly ask help. How I can find intersection point of direction vector and given planes of cube. I have X0, Y0, ...

3 mesi fa | 2 risposte | 0

### 2

risposte

Domanda

How I can rotate cube the way that front plane will be come the top plane?
Hi! Could you please give me an advice about 3d rotation. How I can rotate plane of 3d cube. If plane is front or side and I nee...

4 mesi fa | 1 risposta | 0

### 1

risposta

Domanda

How I can return output from function 'A' for using them as input for another function 'B'?
Hi! Kindly ask to help with return variable from function I want to return data of 'I' from function 'A' and use it as an input...

4 mesi fa | 1 risposta | 0

### 1

risposta

Domanda

Function to change plane of cube
Hello everyone! Kindly ask help in function to change plane of cube in 3D. The wall will be then top and so on Any useful doc...

4 mesi fa | 1 risposta | 0

### 1

risposta

Domanda

How to plot Vector in 3d using two angles and initial point
Hi! Could you please help me How to put 3d vector if i know initial point coordinates and two angles I tries this one, but s...

6 mesi fa | 2 risposte | 0

### 2

risposte

Domanda

Hi! How to fix plane position as a 0 degree angle for Phi azimuth angle or how Matlab understand where Phi angle should be drawn?
I have two angles Theta =60 (polar angle which is <=pi) and Phi = 0 ( which is between 0 and 2pi) I converted spherical coord...

6 mesi fa | 1 risposta | 0

### 1

risposta

Domanda

How to define plane in 3d cube. Intersection point of segment with plane in 3d cube
Hello! I am trying to find intersection point with any planes of cube. I wrote function of plane_line_intersect using this...

7 mesi fa | 2 risposte | 0

### 2

risposte

Risolto

Given a and b, return the sum a+b in c.

7 mesi fa

Risolto

Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...

7 mesi fa

Risolto

Make a checkerboard matrix
Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Examp...

7 mesi fa

Risolto

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...

7 mesi fa

Risolto

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:...

7 mesi fa

Domanda

How to define point between two points in one line through function or any algorithms
How to define intersection point with surface. If I know x, y, z of first point and x, y, z of end point. This is 3D cube

7 mesi fa | 1 risposta | 0

### 1

risposta

Domanda

Hello! How to make for loop for cycle calculation using previous coordinates to calculate next one, etc
Hello! I am trying to apply for loop. I have x0, y0, z0 coordinates and wrote a function to calculate next x1, y1, z1 I need t...

8 mesi fa | 1 risposta | 0

### 1

risposta

Domanda

Condition for output result
Hi ! I want to create function and if result of my x1 will be more than 5.0 then request to assume as a result of x1 = 5.0 ...

8 mesi fa | 1 risposta | 0

risposta